@weshare/crd
Version:
20 lines (19 loc) • 606 B
TypeScript
declare type ComObj = {
set: string;
get: string;
list: boolean;
};
export declare type CrdConfig = {
base_url?: string;
country?: string;
api?: string;
email_user?: string;
email_pass?: string;
email_receiver?: string;
email_service?: string;
};
export declare function getCommandConfig(): Promise<string | ''>;
export declare function setCommand(value: string): Promise<void>;
export declare function getCommand(key: string, crdConfig?: CrdConfig): Promise<void>;
export default function commandhandle(comObj: ComObj): Promise<void>;
export {};