export type ReportSecurityErrorCode = "non-loopback-host" | "invalid-capability-token" | "csrf-violation" | "same-origin-violation" | "path-traversal" | "symlink-escape" | "absolute-path" | "file-url-path" | "external-write-target";
export declare class ReportSecurityError extends Error {
    readonly code: ReportSecurityErrorCode;
    constructor(code: ReportSecurityErrorCode, message: string);
}
export declare class NonLoopbackHostError extends ReportSecurityError {
    constructor(host: string);
}
export declare class InvalidCapabilityTokenError extends ReportSecurityError {
    constructor();
}
export declare class CsrfViolationError extends ReportSecurityError {
    constructor();
}
export declare class SameOriginViolationError extends ReportSecurityError {
    constructor();
}
export declare class PathTraversalError extends ReportSecurityError {
    constructor(path: string);
}
export declare class SymlinkEscapeError extends ReportSecurityError {
    constructor(path: string);
}
export declare class AbsolutePathError extends ReportSecurityError {
    constructor(path: string);
}
export declare class FileUrlPathError extends ReportSecurityError {
    constructor(path: string);
}
export declare class ExternalWriteTargetError extends ReportSecurityError {
    constructor(path: string);
}
//# sourceMappingURL=errors.d.ts.map