import { CustomError } from './CustomError'; import { CustomErrorConstructor } from './CustomErrorConstructor'; import { Result } from './Result'; declare const HydratingErrorFailed_base: CustomErrorConstructor; declare class HydratingErrorFailed extends HydratingErrorFailed_base { } declare const hydrateCustomError: ({ rawEx, potentialErrorConstructors }: { rawEx: any; potentialErrorConstructors: CustomErrorConstructor[]; }) => Result, HydratingErrorFailed>; export { HydratingErrorFailed, hydrateCustomError };