export declare function checkRateLimit(clientId: string): {
    allowed: boolean;
    remaining: number;
    resetIn: number;
};
export declare function resetRateLimit(clientId?: string): void;
export interface ValidationResult {
    valid: boolean;
    reason?: string;
    sanitized?: unknown;
}
export declare function validateToolArgs(name: string, args: unknown): ValidationResult;
export declare function isSafePath(p: string): boolean;
export declare function looksLikeSqlInjection(s: string): boolean;
export declare function getClientId(req: {
    ip?: string;
    socket?: {
        remoteAddress?: string;
    };
    headers: Record<string, string | string[] | undefined>;
}): string;
export declare function securityHeaders(): Record<string, string>;
//# sourceMappingURL=security.d.ts.map