import type { StandardizedRequest, StandardizedTool } from '../types/standardized.js';
export type HubOperation = {
    op: 'set_request_metadata_fields';
    fields: Record<string, unknown>;
} | {
    op: 'unset_request_metadata_keys';
    keys: string[];
} | {
    op: 'set_request_parameter_fields';
    fields: Record<string, unknown>;
} | {
    op: 'unset_request_parameter_keys';
    keys: string[];
} | {
    op: 'append_tool_if_missing';
    toolName: string;
    tool: StandardizedTool;
};
export declare function applyHubOperations<T extends StandardizedRequest>(request: T, ops: HubOperation[]): T;
