/** * Tool UI Module * * Provides UI template rendering and platform-specific metadata generation * for MCP tool responses. * * Delegates to @frontmcp/uipack/adapters for rendering, content detection, * and protocol-aligned response formatting. */ export { ToolUIRegistry, UI_RESOURCE_SCHEME, isUIResourceUri, isStaticWidgetUri, parseWidgetUri, buildStaticWidgetUri, getUIResourceMimeType, } from './ui-shared'; export type { ParsedWidgetUri, UIResourceMeta } from './ui-shared'; export declare function renderToolTemplateAsync(toolName: string, input: unknown, output: unknown, template: unknown, platformType?: string): Promise; export declare function renderToolTemplate(toolName: string, input: unknown, output: unknown, template: unknown, platformType?: string): string; /** Check if a tool entry has UI configuration */ export declare function hasUIConfig(tool: unknown): boolean; export declare function isReactComponent(template: unknown): boolean; export declare function containsMdxSyntax(content: string): boolean; export interface RenderOptions { [key: string]: unknown; } export interface UIRenderResult { html: string; [key: string]: unknown; } export interface CompileStaticWidgetOptions { [key: string]: unknown; } export interface HybridComponentPayload { [key: string]: unknown; } export interface BuildHybridComponentPayloadOptions { [key: string]: unknown; } export interface RenderTemplateOptions { [key: string]: unknown; } export { buildUIMeta } from './platform-adapters'; export type { UIMetadata, BuildUIMetaOptions } from './platform-adapters'; export { escapeHtml, formatDate, formatCurrency, uniqueId, jsonEmbed, createTemplateHelpers, resetIdCounter, } from './template-helpers'; export { handleUIResourceRead, createUIResourceHandler } from './ui-resource.handler'; export type { UIResourceHandleResult, UIResourceHandlerOptions, HandleUIResourceOptions } from './ui-resource.handler'; export { StaticWidgetResourceTemplate } from './ui-resource-template'; //# sourceMappingURL=index.d.ts.map