import { Arg } from "./payload"; export declare function toArray(value: T | T[]): T[]; export declare function handlerLoader(name: string): Promise; export declare function requirePath(folderOrFile: string): Promise; export declare function extractParameters(intent: string): Arg[]; export declare function replacer(key: string, value: any): any; export declare function hideString(value: any): any; export declare function guid(): string; export declare function handleError(f: () => Promise, cb?: (err: Error) => T | undefined): Promise; export declare function handleErrorSync(f: () => T, cb?: (err: Error) => T | undefined): T | undefined; export declare const DefaultErrorHandler: (err: Error) => undefined; //# sourceMappingURL=util.d.ts.map