export declare const addCustomErrorDeserializer: (name: string, deserializer: (obj: any) => any) => void; export interface LedgerErrorConstructor extends ErrorConstructor { new (message?: string, fields?: F, options?: any): Error & F; (message?: string, fields?: F, options?: any): Error & F; readonly prototype: Error & F; } export declare const createCustomErrorClass: = LedgerErrorConstructor>(name: string) => T; export declare const deserializeError: (object: any) => Error | undefined; export declare const serializeError: (value: undefined | To | string | (() => unknown)) => undefined | To | string; interface To { name?: string; message?: string; stack?: string; } export {}; //# sourceMappingURL=helpers.d.ts.map