/**
 * Custom Error Classes for Host Router
 *
 * All host router errors extend HostRouterError for easy instance checking.
 */
/**
 * Error options with cause
 */
interface ErrorOptions {
    cause?: unknown;
}
/**
 * Base error class for all host router errors
 */
export declare class HostRouterError extends Error {
    cause?: unknown;
    constructor(message: string, options?: ErrorOptions);
}
/**
 * Error thrown when pattern validation fails
 */
export declare class InvalidPatternError extends HostRouterError {
    constructor(pattern: string, reason: string, options?: ErrorOptions);
}
/**
 * Error thrown when cookie override is not allowed
 */
export declare class HostOverrideNotAllowedError extends HostRouterError {
    constructor(currentHost: string, cookieName: string, options?: ErrorOptions);
}
/**
 * Error thrown when cookie hostname is invalid
 */
export declare class InvalidHostnameError extends HostRouterError {
    constructor(hostname: string, options?: ErrorOptions);
}
/**
 * Error thrown when custom validation fails
 */
export declare class HostValidationError extends HostRouterError {
    constructor(message: string, cause?: unknown);
}
/**
 * Error thrown when no route matches
 */
export declare class NoRouteMatchError extends HostRouterError {
    constructor(hostname: string, pathname: string, options?: ErrorOptions);
}
/**
 * Error thrown when handler type is invalid
 */
export declare class InvalidHandlerError extends HostRouterError {
    constructor(handler: unknown, options?: ErrorOptions);
}
export {};
//# sourceMappingURL=errors.d.ts.map