import { CatalogComponentDefinition, CatalogDefinitions, CatalogRenderers, ComponentRenderer, LitComponentImplementation, RendererProps } from "./types.cjs"; import { Catalog } from "@a2ui/web_core/v0_9"; import { ZodObject, ZodRawShape, z } from "zod"; //#region src/web-components/create-catalog.d.ts /** * Context description used to identify the A2UI component schema in RunAgentInput.context. * Must match the constant in @ag-ui/a2ui-middleware so the middleware can overwrite * a frontend-provided schema with a server-side one. */ declare const A2UI_SCHEMA_CONTEXT_DESCRIPTION = "A2UI Component Schema \u2014 available components for generating UI surfaces. Use these component names and properties when creating A2UI operations."; declare function createCatalog(definitions: D, renderers: CatalogRenderers, options?: { catalogId?: string; includeBasicCatalog?: boolean; }): Catalog; declare function extractSchema(definitions: CatalogDefinitions): Array<{ name: string; description?: string; props?: Record; }>; interface A2UIComponentDefinition { props: ZodObject; description?: string; render: (props: RendererProps>>) => unknown; } type A2UIComponentMap = Record>; declare function createA2UICatalog(components: A2UIComponentMap, options?: { catalogId?: string; includeBasicCatalog?: boolean; }): Catalog; declare function extractA2UISchema(components: A2UIComponentMap): Array<{ name: string; description?: string; props?: Record; }>; declare function buildCatalogContextValue(catalog?: unknown): string; interface InlineCatalogSchema { catalogId: string; components: Record>; } declare function extractCatalogComponentSchemas(catalog?: unknown): InlineCatalogSchema; //#endregion export { A2UIComponentDefinition, A2UIComponentMap, A2UI_SCHEMA_CONTEXT_DESCRIPTION, buildCatalogContextValue, createA2UICatalog, createCatalog, extractA2UISchema, extractCatalogComponentSchemas, extractSchema }; //# sourceMappingURL=create-catalog.d.cts.map