@fle-ui/plus-im-record
Version:
34 lines (33 loc) • 1.23 kB
TypeScript
export declare function getSessionIdFromMsg(msg: {
from: any;
to: any;
scene: any;
}, myAccount: any): string;
export declare function paserAttach(attach?: any): any;
export declare function getSimplifyMsg(attach?: any): any;
export declare function concatMsgs<T>(arr1?: any[], arr2?: any[]): T[];
export declare function getDateDiff(dateTimeStamp: number): string;
export declare function downloadByUrl(src: string): void;
/**
* 将文字写入剪切板
* @param {string} text
* @returns {Promise} 返回promise对象
*/
export declare function copyText(text?: string): Promise<void>;
export declare const matchs: {
paserProductFromUrl: (str: string) => string | null | undefined;
paserOrderFromUrl: (str: string) => string | null | undefined;
};
declare const _default: {
getSessionIdFromMsg: typeof getSessionIdFromMsg;
paserAttach: typeof paserAttach;
getDateDiff: typeof getDateDiff;
downloadByUrl: typeof downloadByUrl;
copyText: typeof copyText;
getSimplifyMsg: typeof getSimplifyMsg;
matchs: {
paserProductFromUrl: (str: string) => string | null | undefined;
paserOrderFromUrl: (str: string) => string | null | undefined;
};
};
export default _default;