/** * aft_import — language-aware import add/remove/organize. * Supports TS, JS, TSX, Python, Rust, Go, Solidity, Java, C#, PHP, Kotlin, Scala, Swift, Ruby, Lua, C, C++, Perl, Vue. */ 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 ImportParams: Type.TObject<{ op: Type.TUnsafe<"remove" | "add" | "organize">; path: Type.TString; module: Type.TOptional; names: Type.TOptional>; defaultImport: Type.TOptional; namespace: Type.TOptional; alias: Type.TOptional; modifiers: Type.TOptional>; importKind: Type.TOptional; removeName: Type.TOptional; typeOnly: Type.TOptional; validate: Type.TOptional>; }>; /** Exported for renderer unit tests. */ export declare function buildImportSections(args: Static, payload: unknown, theme: Theme): string[]; /** Exported for renderer unit tests. */ export declare function renderImportCall(args: Static, theme: Theme, context: RenderContextLike): import("@earendil-works/pi-tui").Text; /** Exported for renderer unit tests. */ export declare function renderImportResult(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 registerImportTools(pi: ExtensionAPI, ctx: PluginContext): void; export {}; //# sourceMappingURL=imports.d.ts.map