1/*
2* Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development 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*/
15import { AsyncCallback, Callback } from './../basic';
16
17declare namespace napitest {      
18    /*    
19    export interface testInerface {
20        code: number;
21        data: string;
22    }
23    export interface testMapInerface {
24        tset1: map<string, Array<testInerface>>; -- 待实现    }
25
26    function fun7(v: Array<{[key: string]:testInerface}>): number; -- 待实现
27    function fun10(v: Array<map<string, testInerface>>): number; -- 待实现
28    function fun11(v: Array<map<string, testInerface>>): number; -- 待实现
29    function fun17(v: Array<map<string, Array<testInerface>>>): number; -- 待实现
30
31    --not support--
32    function fun4(v: Array<{[key: string]:Object}>): number; -- 参数、返回值暂时不支持
33    function fun5(v: Array<{[key: string]:[]}>): number; -- ohos中无此类用法,暂不实现
34    function fun6(v: Array<{[key: string]:any}>): number; -- 依赖于参数、返回值any类型
35
36    function fun13(v: {[key: string]:any}[]): number; --ohos中无此类用法,暂不实现
37    function fun14(v: {[key: string]:any}[]): number; --ohos中无此类用法,暂不实现
38    function fun15(v: map<string, string>[]): number; --ohos中无此类用法,暂不实现
39    function fun15(v: string): map<string, string>[]; --ohos中返回值类型为 map数组,无此类用法,暂不实现
40    */
41   
42    function fun1(v: Array<{[key: string]:string}>): number;
43    function fun2(v: Array<{[key: string]:number}>): number;
44    function fun3(v: Array<{[key: string]:boolean}>): number;
45
46    function fun8(v: Array<Map<string, string>>): number;
47    function fun9(v: Array<Map<string, number>>): number;
48    function fun10(v: Array<Map<string, boolean>>): number;    
49}
50
51export default napitest;