import type { PreRequestHook } from './pre-request';
export interface DeduplicateReadsOptions {
    /** Whether to persist the deduplication. Default: false (view-only) */
    persist?: boolean;
}
/**
 * Pre-request hook that deduplicates read tool results.
 *
 * When the agent reads the same file multiple times, only the most recent
 * read result is kept in full. Earlier reads of the same file are replaced
 * with a short placeholder note.
 *
 * To find the filePath, the hook looks at the corresponding tool-call in the
 * preceding assistant message that matches the toolCallId.
 */
export declare function deduplicateReads(opts?: DeduplicateReadsOptions): PreRequestHook;
//# sourceMappingURL=deduplicate-reads.d.ts.map