import { Catalog, type ComponentApi } from '@a2ui/web_core'; import { type A2UIInstructionsConfig } from './A2UIInstructions'; type Entry = ComponentApi; /** * The catalog an agent writes with: the basic catalog, or what `keep` names of it without what * `remove` names, and the app's components, but one named like a basic component it keeps. */ export declare const a2uiCatalogFor: ({ catalogId, components, keep, remove, }?: Pick) => Catalog; /** * The instructions that teach an agent's model to write A2UI the app's renderer shows, in * Markdown: how a reply carries its UI, the protocol, the catalog's guidelines and the catalog * itself with the app's components, then what `config` adds. The same as StreamChatA2UI's * `A2UIInstructions`. Throws an `A2UIInstructionsError` when an example would not render. */ export declare const a2uiInstructionsText: (config?: A2UIInstructionsConfig) => string; /** * What is wrong with the A2UI messages of `text` for a renderer with `catalog`, or nothing * when they render as written: messages it can't read, components it doesn't have or that don't * fit their schemas, and references that lead nowhere. As StreamChatA2UI's `A2UIProgram`, with * each component checked against its schema by the A2UI core as a renderer checks it. */ export declare const a2uiProblemsWith: (text: string, catalog: Catalog) => string[]; /** What is wrong with the A2UI messages of `text` for the catalog `config` makes, or nothing. */ export declare const a2uiProblemsIn: (text: string, config?: Pick) => string[]; export {}; //# sourceMappingURL=instructions.d.ts.map