/** Match a bounded Node-style error code without assuming the thrown value's shape. */ export declare function hasErrorCode(error: unknown, code: string): boolean; /** Read a string `code` property from an unknown thrown value, if present. */ export declare function getErrorCode(error: unknown): string | undefined; //# sourceMappingURL=error-code.d.ts.map