import type { ApplyPatchPreview, ApplyPatchRenderState, ApplyPatchTheme } from "./types.ts";
export declare const PATCH_PREVIEW_MAX_LINES = 16;
export declare const PATCH_PREVIEW_MAX_CHARS = 4000;
export declare function truncatePreview(text: string): string;
export declare function displayPath(filePath: string, cwd: string): string;
export declare function formatPatchPreview(preview: ApplyPatchPreview, cwd?: string, expanded?: boolean): string;
export declare function formatInFlightCallText(patchText: string): string;
export declare function getApplyPatchRenderState(toolCallId: string, cwd: string, patchText: string): ApplyPatchRenderState;
export declare function clearApplyPatchRenderState(): void;
export declare function renderPatchPreview(preview: ApplyPatchPreview, cwd: string, theme: ApplyPatchTheme, expanded: boolean): string;
export declare function formatPendingPatchPaths(patchText: string): string;
export declare function renderPatchLine(line: string, theme: ApplyPatchTheme): string;
//# sourceMappingURL=preview-format.d.ts.map