import { CustomError as TsCustomError } from 'ts-custom-error'; import { is, has, toObject, toText, getChildErrorObjects } from '../helpers'; import type { ErrorArgs } from '../types'; export declare class CustomError extends TsCustomError { constructor(...args: ErrorArgs); get message(): string; get meta(): import("../types").ErrorMeta | undefined; is: typeof is; has: typeof has; toText: typeof toText; toObject: typeof toObject; getChildErrorObjects: typeof getChildErrorObjects; } export declare type CustomErrorType = typeof CustomError; /** * @deprecated */ export declare const GenericError: typeof CustomError; /** * @deprecated */ export declare const $Error: typeof CustomError; //# sourceMappingURL=custom.d.ts.map