import type { JsonObject } from '../../hub/types/json.js';
export interface RequestRulesConfig {
    tools?: {
        function?: {
            removeKeys?: string[];
        };
    };
    messages?: {
        assistantToolCalls?: {
            function?: {
                removeKeys?: string[];
            };
        };
    };
    topLevel?: {
        conditional?: Array<{
            when?: {
                tools?: 'empty' | 'present';
            };
            remove?: string[];
        }>;
    };
}
export declare function applyRequestRules(payload: JsonObject, config?: RequestRulesConfig): JsonObject;
