/**
 * Error narrowing utilities for catch clauses.
 *
 * TypeScript catch variables are `unknown`. These helpers provide // nosemgrep: ts-no-unknown-outside-adapters -- 0025B
 * type-safe narrowing without wildcard casts.
 *
 * @module domain/types/WarpErrors
 */
/**
 * Narrows an unknown value to an Error instance. // nosemgrep: ts-no-unknown-outside-adapters -- 0025B
 */
export declare function isError(err: unknown): err is Error;
/**
 * Checks if an unknown value has a string `code` property. // nosemgrep: ts-no-unknown-outside-adapters -- 0025B
 */
export declare function hasErrorCode(err: unknown): err is {
    code: string;
    message?: string;
    name?: string;
};
/**
 * Narrows an unknown value to an object with a string `message` property. // nosemgrep: ts-no-unknown-outside-adapters -- 0025B
 */
export declare function hasMessage(err: unknown): err is {
    message: string;
};
