UNPKG

sf-i-uploader

Version:
18 lines 788 B
/// <reference types="node" /> export declare const newUuidV4: () => string; declare function readCookie(key: string): string; declare function callApi(url: string, data: string, authorization: any): Promise<unknown>; declare function sleep(ms: number): Promise<unknown>; declare function formatFileSize(bytes: number): string; declare const exportFunctions: { callApi: typeof callApi; validateName: (name: string) => boolean; readCookie: typeof readCookie; listenForChange: (_var: any, cb: any) => NodeJS.Timer; truncate: (str: string, n: number, useWordBoundary: boolean) => string; newUuidV4: () => string; sleep: typeof sleep; formatFileSize: typeof formatFileSize; }; export default exportFunctions; //# sourceMappingURL=util.d.ts.map