import type { AIUIDocument } from '../AIComponents/GenerativeUI/AIUIDocument'; /** The version of A2UI this renderer reads. */ export declare const A2UI_VERSION = "1.0"; /** Whether a reply's A2UI of `version`, or of no version, is one this renderer reads. */ export declare const supportsA2UIVersion: (version: string | undefined) => boolean; /** * The complete A2UI messages in `text`, as written: every top-level JSON object, in order. * One object per line, a pretty-printed one or a JSON array of them all read the same, and * words around them are skipped. An object still being written is left out until it closes, so * a reply's UI shows each message as it completes. */ export declare const a2uiMessagesIn: (text: string) => string[]; /** * The messages of a document as text: as the agent wrote them, or written out when a backend * sent them as JSON. `undefined` for content that holds no messages. */ export declare const a2uiSourceOf: (document: AIUIDocument) => string | undefined; /** * A message as the processor reads it: 1.0 in its own spelling, and a surface the agent made * without naming a catalog made with `catalogId`, the catalog with the app's components. */ export declare const normalizeA2UIMessage: (message: Record, catalogId: string) => Record; //# sourceMappingURL=A2UIStream.d.ts.map