export declare class KastellError extends Error {
    readonly code: string;
    readonly hint?: string;
    constructor(message: string, options?: {
        cause?: unknown;
        hint?: string;
        code?: string;
    });
}
export declare function extractReason(reason: unknown): string;
export declare class TransientError extends KastellError {
}
export declare class ValidationError extends KastellError {
}
export declare class BusinessError extends KastellError {
}
export declare class PermissionError extends KastellError {
}
//# sourceMappingURL=errors.d.ts.map