export declare const CODEC_OPTIONAL_PATH = "__lc_option__"; type CodecOptionalPath = typeof CODEC_OPTIONAL_PATH; export declare class CodecBaseParseError extends Error { expectedType: string; constructor(message: string, expectedType: string); } export declare function isCodecExecuteError(error: unknown): error is CodecExecuteError; /** * This Error class can collect CodecBaseParseError, and put an human-readable error */ export declare class CodecExecuteError extends Error { private origin; name: string; constructor(origin: CodecBaseParseError); keys: (number | string | CodecOptionalPath)[]; updateKey(key: number | string | symbol): void; private getPackErrorMessage; } export {}; //# sourceMappingURL=error.d.ts.map