/**
 * Base error class for all WARP domain errors.
 *
 * Provides shared constructor logic: name (from constructor), code,
 * context, and stack trace capture. Subclasses reduce to a one-line
 * constructor calling super(message, defaultCode, options).
 */
export interface WarpErrorOptions {
    readonly code?: string;
    readonly context?: Record<string, unknown>;
}
export default class WarpError extends Error {
    readonly code: string;
    readonly context: Record<string, unknown>;
    constructor(message: string, defaultCode: string, options?: WarpErrorOptions | null);
}
