export declare const AddApiIdType: { readonly 字符串: "string"; readonly 数字: "number"; }; export type AddApiIdType = (typeof AddApiIdType)[keyof typeof AddApiIdType]; export interface AddApiParams { type: string; api?: string; hook?: string; idType?: AddApiIdType; name?: string; prefix?: string; suffix?: string; } export declare function addApi({ type, api, hook, idType, name, prefix, suffix }: AddApiParams): Promise;