import type { TerminalTranscriptHistoryResponse } from '../../shared/protocol.js';
import type { TerminalId } from '../../shared/types.js';
import type { PtyTranscriptSource } from './PtyAdapter.js';
export declare function readTranscriptHistoryPage(terminalId: TerminalId, source: PtyTranscriptSource, options?: {
    cursor?: string;
    limit?: number;
    maxLines?: number;
    includeTools?: boolean;
}): TerminalTranscriptHistoryResponse | null;
