import type { ServerToolAutoHookTraceEvent } from './types.js';
export interface PreCommandHookRunOptions {
    requestId: string;
    entryEndpoint: string;
    providerProtocol: string;
    toolName: string;
    toolCallId: string;
    toolArguments: string;
    preCommandState?: unknown;
}
export interface PreCommandHookRunResult {
    toolArguments: string;
    changed: boolean;
    traces: ServerToolAutoHookTraceEvent[];
}
export declare function runPreCommandHooks(options: PreCommandHookRunOptions): PreCommandHookRunResult;
export declare function resetPreCommandHooksCacheForTests(): void;
