import type { PreRequestHook } from './pre-request';
export interface TruncateOldBashResultsOptions {
    /** Number of most recent bash results to keep in full. Default: 3 */
    keep?: number;
    /** Maximum lines to keep for truncated results. Default: 5 */
    summaryLines?: number;
    /** Whether to persist. Default: false (view-only) */
    persist?: boolean;
}
/**
 * Pre-request hook that truncates old bash tool results.
 *
 * Keeps the last N (default 3) bash results in full. Earlier bash results
 * are truncated to the first `summaryLines` lines with a note about how
 * many lines were omitted.
 */
export declare function truncateOldBashResults(opts?: TruncateOldBashResultsOptions): PreRequestHook;
//# sourceMappingURL=truncate-bash-results.d.ts.map