1/* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15declare namespace MathOperations { 16 /** 17 * Adds two numbers. 18 * @param {number} a - The first number. 19 * @param {number} b - The second number. 20 * @returns {number} The sum of a and b. 21 */ 22 function add(a: number, b: number): number; 23 /** 24 * Multiplies two numbers. 25 * @param {number} a - The first number. 26 * @param {number} b - The second number. 27 * @returns {number} The product of a and b. 28 */ 29 function multiply(a: number, b: number): number; 30} 31type CallbackFunction = (result: string) => void; 32declare enum DaysOfWeek { 33 Sunday = "Sunday", 34 Monday = "Monday", 35 Tuesday = "Tuesday", 36 Wednesday = "Wednesday", 37 Thursday = "Thursday", 38 Friday = "Friday", 39 Saturday = "Saturday" 40} 41