/** @internal */ export interface LeafOutcomeRendererMeta { /** @internal */ instanceId: string; /** @internal */ snapshotId: string; /** @internal */ leafEntryId: string; /** @internal */ turnRecordId: string | null; /** @internal */ createdAt: string; /** @internal */ schemaVersion: number | null; /** @internal */ lifecycleStatus?: string | null; /** @internal */ selectedTurnId?: string | null; /** @internal */ processUpdatedAt?: string | null; } /** @internal */ export interface LeafOutcomeRendererRuntime { /** @internal */ apiVersion: 1; /** @internal */ markdown: { /** @internal */ render(markdown: string): string; }; /** @internal */ server: { /** @internal */ resolveUrl(path: string): string; /** @internal */ fetch(path: string, init?: RequestInit): Promise; }; /** @internal */ formatRelativeTime(iso: string): string; } /** @internal */ export declare function escapeLeafOutcomeHtml(value: string): string; /** @internal */ export declare function normalizeLeafOutcomeOptionalText(value: unknown): string | null; /** @internal */ declare const LeafOutcomeElementBase: typeof HTMLElement; /** @internal */ export declare abstract class LeafOutcomeCustomElement extends LeafOutcomeElementBase { /** @internal */ protected readonly shadowRootRef: ShadowRoot; private payloadValue; private runtimeValue; private metaValue; private signaledReady; /** @internal */ constructor(); /** @internal */ set payload(value: TPayload | null); /** @internal */ get payload(): TPayload | null; /** @internal */ set runtime(value: LeafOutcomeRendererRuntime | null); /** @internal */ get runtime(): LeafOutcomeRendererRuntime | null; /** @internal */ set meta(value: LeafOutcomeRendererMeta | null); /** @internal */ get meta(): LeafOutcomeRendererMeta | null; /** @internal */ connectedCallback(): void; /** @internal */ protected canRender(): this is this & { runtime: LeafOutcomeRendererRuntime; }; /** @internal */ protected emitReady(): void; /** @internal */ protected emitError(code: string, message: string): void; /** @internal */ protected abstract renderContent(): void; } export {}; //# sourceMappingURL=leaf-outcome-renderer.d.ts.map