import { OSSProvider } from '../adaptors/oss-client'; import cleaner from './cleaner'; import * as logger from './logger'; export declare const GLOBAL_CONFIG_FILES: string[]; export declare type Callable = (...args: any[]) => any; export declare type AsyncCallable = (...args: any[]) => Promise; export declare const isAsyncFunction: (fn: any) => fn is AsyncCallable; export declare const to: (p: Promise) => Promise<[undefined, any] | [any, undefined]>; export declare const sleep: (time: number) => Promise; export declare const getAbsolutePath: (rel: string) => string; export declare const getCmds: () => string[]; export declare const getFiglet: (cmd: string) => Promise; export declare function chunk(array: Array, groupCount: number): Array>; export declare function isPromise(p: any): p is Promise; export declare function pRetry(this: any, fn: (...args: any[]) => any, { retry, beforeRetry }: { retry: number; beforeRetry?: (retryCount: number, e: Error) => any; }, alreadyTried?: number): Promise; export declare function pTimeout(p: Promise, time?: number): Promise; export declare function getOSSConfiguration(config: string | undefined, argv: any): Promise; export declare function isOSSProvider(val: any): val is OSSProvider; export { logger, cleaner }; //# sourceMappingURL=index.d.ts.map