import { Middleware, MiddlewareContext } from "../types/Middleware.js";
export interface PIIMaskOptions {
    /**
     * Custom masking string. Defaults to "[REDACTED]".
     */
    mask?: string;
    /**
     * Whether to redact the assistant's output as well. Defaults to false.
     */
    redactOutput?: boolean;
}
/**
 * Middleware that automatically redacts Personal Identifiable Information (PII)
 * from user messages before they are sent to the LLM.
 */
export declare class PIIMaskMiddleware implements Middleware {
    private options;
    readonly name = "PIIMask";
    constructor(options?: PIIMaskOptions);
    onRequest(ctx: MiddlewareContext): Promise<void>;
    private maskText;
}
//# sourceMappingURL=PIIMaskMiddleware.d.ts.map