export interface TextOverflowPreviewOptions {
    maxBytes: number;
    maxLines: number;
    omissionMessage: string;
    headByteBudget?: number;
    headLineBudget?: number;
}
export interface TextOverflowPreview {
    originalBytes: number;
    originalLines: number;
    preview: string;
    truncated: boolean;
}
export declare function createTextOverflowPreview(content: string, options: TextOverflowPreviewOptions): TextOverflowPreview;
export declare function countTextLines(content: string): number;
//# sourceMappingURL=output-overflow.d.ts.map