/** * Minimal UI interface for MCP output. * This is a structural subtype of @webiny/cli-core's IUiService, * so Webiny's Ui can be passed directly without an adapter. */ export interface IUi { info(text: string, ...args: any[]): void; success(text: string, ...args: any[]): void; error(text: string, ...args: any[]): void; warning(text: string, ...args: any[]): void; text(text: string): void; emptyLine(): void; } /** * Console-based Ui for standalone usage (no @webiny/cli-core needed). */ export declare class ConsoleUi implements IUi { info(text: string, ...args: any[]): void; success(text: string, ...args: any[]): void; error(text: string, ...args: any[]): void; warning(text: string, ...args: any[]): void; text(text: string): void; emptyLine(): void; }