1 | import { Arg } from "./payload";
|
2 | export declare function toArray<T>(value: T | T[]): T[];
|
3 | export declare function handlerLoader<T>(name: string): Promise<T>;
|
4 | export declare function requirePath(folderOrFile: string): Promise<string>;
|
5 | export declare function extractParameters(intent: string): Arg[];
|
6 | export declare function replacer(key: string, value: any): any;
|
7 | export declare function hideString(value: any): any;
|
8 | export declare function guid(): string;
|
9 | export declare function handleError<T>(f: () => Promise<T>, cb?: (err: Error) => T | undefined): Promise<T | undefined>;
|
10 | export declare function handleErrorSync<T>(f: () => T, cb?: (err: Error) => T | undefined): T | undefined;
|
11 | export declare const DefaultErrorHandler: (err: Error) => undefined;
|
12 |
|
\ | No newline at end of file |