export declare const castToError: (err: any) => Error; export declare const safeJSON: (text: string) => any; export declare function md5(str: string): string;