/**
 * Presentation for the read tool.
 *
 * Renderers live apart from the implementation so a process that only displays tool output does not
 * load the execution path or its typebox parameter schema. `read.ts` spreads these into its
 * definition, so the tool's public shape is unchanged.
 */
import type { ToolDefinition } from "../../extensions/types.ts";
import type { ReadToolDetails } from "../read.ts";
import { type CompactReadClassification } from "../read-classifiers.ts";
/**
 * Classifications are memoized per tool call (unclaimed paths included) so a redraw or an
 * expand/collapse cannot pick a different headline for the same read.
 */
export interface ReadRenderState {
    classifications?: Map<string | null, CompactReadClassification | undefined>;
}
export type ReadRenderArgs = {
    path?: string;
    file_path?: string;
    offset?: number;
    limit?: number;
};
/** The compact headline a collapsed read card shows for these args, or undefined for a plain file read. */
export declare function getCompactReadClassification(args: ReadRenderArgs | undefined, cwd: string): CompactReadClassification | undefined;
export declare const readRenderers: Pick<ToolDefinition<any, ReadToolDetails | undefined, ReadRenderState>, "renderCall" | "renderResult">;
//# sourceMappingURL=read.d.ts.map