import type { AiToolCtx, ToolHandler } from './spi/tool.js';
/** JSON-only component output, structurally shared with the optional GenUI core. */
export interface ComponentPresentation<P extends object = Record<string, unknown>> {
    component: string;
    props: P;
    version: number;
    fallbackText: string;
}
export type ToolResultPresentation = ComponentPresentation<object> | readonly ComponentPresentation<object>[] | undefined;
/** Presentation must never turn a completed domain write into a retryable tool failure. */
export declare function presentToolResult(toolName: string, handler: ToolHandler, output: unknown, ctx: AiToolCtx): Promise<void>;
//# sourceMappingURL=tool-result-presentation.d.ts.map