import { type ManagedToolMethod, type Report } from '@internals/tools'; export declare const banner = "\"\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \\n\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \\n\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \\n\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \\n\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \\n\u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \\n\u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588 \u2591\u2588\u2588\u2588\u2588 \u2591\u2588\u2588\u2588\u2588\u2588\u2588\u2588\""; type ArgInputType = 'string' | 'number' | 'boolean' | 'object' | 'array'; interface RunAsyncToolOptions { interactiveProgress?: boolean; } export declare const colors: { info: (value: string) => string; error: (value: string) => string; warning: (value: string) => string; complete: (value: string) => string; }; export declare function getSpinnerProgressMessage(): string | undefined; export declare function isInteractiveTerminal(stream: NodeJS.WriteStream): boolean; export declare function runAsyncTool(args: Record, fn: ManagedToolMethod, options?: RunAsyncToolOptions): Promise>; interface PropertySchema { type?: ArgInputType; enum?: string[]; description?: string; default?: unknown; defaultTemplate?: string; filename?: string; } export declare function getArgValue(argName: string, propertySchema: PropertySchema): Promise; export declare function getEditor(value: string, prop: { defaultTemplate?: string; filename?: string; }): Promise; export declare function getSelect(value: string, prop: { enum?: string[]; }): Promise; export declare function getInput(value: string): Promise; export declare function getBoolean(value: string, prop: { description?: string; }): Promise; export declare const statusIcons: { success: string; danger: string; warning: string; info: string; log: string; undefined: string; }; export declare function isReport(result: unknown): result is Report; export declare function reportHasFailures(result: Report): boolean; export declare function exitWithToolError(result: unknown, message: string | undefined): Promise; export declare function exitCodeForResult(result: unknown): 0 | 1; interface CompleteToolResultOptions { result: unknown; tool?: ManagedToolMethod; start?: number; end?: number; formattedResult?: string; exitCode?: number; notifyUpdate?: () => Promise; } export declare function exitWithCompleteToolResult({ result, tool, start, end, formattedResult: providedResult, exitCode: providedExitCode, notifyUpdate }: CompleteToolResultOptions): Promise; export declare function renderReport(result: Report): Promise; export declare function wrapUrl(url: string, maxWidth?: number): string; export declare function isObjectLiteral(item: unknown): boolean; export declare function renderResult(result: unknown): Promise; /** * Renders an ASCII progress bar for terminal output. */ export declare function progressBar(percentage: number, width?: number): string; export {};