openim-uniapp-polyfill
Version:
openim sdk for uniapp polyfill
11 lines (10 loc) • 683 B
TypeScript
import { CbEvents } from '@openim/client-sdk';
import { IMEvents, IMMethods } from "../types/enum";
export declare const api: any;
export declare const nativePicker: any;
export declare const asyncApi: (key: IMMethods, ...args: any[]) => Promise<unknown>;
export declare const pickFile: () => Promise<string> | undefined;
export declare const getVideoCover: (videoPath: string) => Promise<unknown> | undefined;
export declare const subscribe: (evnetName: IMEvents | CbEvents, handler: (data: Record<string, unknown>) => void) => void;
export declare const unsubscribe: (evnetName: IMEvents | CbEvents, handler: () => void) => void;
export declare const uuid: () => string;