export interface HistoryEntryLike {
    title: string;
    text: string;
}
export interface HistoryViewport<T extends HistoryEntryLike> {
    entries: T[];
    hasOlder: boolean;
    hasNewer: boolean;
    hiddenOlderCount: number;
    hiddenNewerCount: number;
}
export declare function estimateHistoryEntryHeight(entry: HistoryEntryLike, width: number): number;
export declare function selectHistoryEntries<T extends HistoryEntryLike>(entries: T[], width: number, maxHeight: number, offsetFromLatest: number): HistoryViewport<T>;
//# sourceMappingURL=history-viewport.d.ts.map