/** * AFT reading tools: aft_outline + aft_zoom. * Structural overview and symbol/section inspection. */ import type { AgentToolResult, ExtensionAPI, Theme } from "@earendil-works/pi-coding-agent"; import { type Static, Type } from "typebox"; import type { PluginContext } from "../types.js"; import { type RenderContextLike, type RenderResultOptionsLike } from "./render-helpers.js"; declare const OutlineParams: Type.TObject<{ target: Type.TUnion<[Type.TString, Type.TArray]>; files: Type.TOptional; includeTests: Type.TOptional; }>; declare const ZoomParams: Type.TObject<{ path: Type.TOptional; url: Type.TOptional; symbols: Type.TOptional]>>; targets: Type.TOptional, Type.TArray>]>>; contextLines: Type.TOptional>; callgraph: Type.TOptional; }>; export interface ReadingSurface { outline: boolean; zoom: boolean; } /** Exported for renderer unit tests. */ export declare function buildOutlineSections(text: string, theme: Theme): string[]; /** Exported for renderer unit tests. */ export declare function buildZoomSections(args: Static, payload: unknown, theme: Theme): string[]; /** Exported for renderer unit tests. */ export declare function renderOutlineCall(args: Static, theme: Theme, context: RenderContextLike): import("@earendil-works/pi-tui").Text; /** Exported for renderer unit tests. */ export declare function renderOutlineResult(result: AgentToolResult, theme: Theme, context: RenderContextLike, options?: RenderResultOptionsLike): import("@earendil-works/pi-tui").Component | import("@earendil-works/pi-tui").Text; /** Exported for renderer unit tests. */ export declare function renderZoomCall(args: Static, theme: Theme, context: RenderContextLike): import("@earendil-works/pi-tui").Text; /** Exported for renderer unit tests. */ export declare function renderZoomResult(result: AgentToolResult, args: Static, theme: Theme, context: RenderContextLike, options?: RenderResultOptionsLike): import("@earendil-works/pi-tui").Component | import("@earendil-works/pi-tui").Text; export declare function registerReadingTools(pi: ExtensionAPI, ctx: PluginContext, surface: ReadingSurface): void; export {}; //# sourceMappingURL=reading.d.ts.map