import type { HsonCanonical } from "../../api/transform/transform.types.js"; import type { ClassifiedLiveMap } from "../../types/livemap.types.js"; import type { TrustedSchemaAssociationEvidence, TrustedSchemaMapFlow, TrustedSchemaSourceBinding } from "./protocol.js"; import type { InterpolationCapture } from "./interpolation-capture.js"; type TrustedSchemaTemplateBase = Readonly<{ templateId: string; templateRevision: number; source: string; evaluationId?: string; }>; export type TrustedSchemaTaggedTemplate = TrustedSchemaTemplateBase & Readonly<{ kind: "tagged"; canonical: HsonCanonical; }>; export type TrustedSchemaStaticTemplate = TrustedSchemaTemplateBase & Readonly<{ kind: "static"; canonical: string; }>; export type TrustedSchemaTemplate = TrustedSchemaTaggedTemplate | TrustedSchemaStaticTemplate; export type TrustedSchemaApplication = Readonly<{ applicationId: string; template: TrustedSchemaTemplate; map: ClassifiedLiveMap; }>; export type TrustedSchemaAttachment = Readonly<{ schema: object; origin: unknown; evidence: TrustedSchemaAssociationEvidence; error?: unknown; isCurrent?: () => boolean; }>; /** Explicit private tag: direct, substitution-free occurrences only; never text-keyed. */ export declare function capture_trusted_schema_template(strings: TemplateStringsArray, ...values: readonly never[]): TrustedSchemaTaggedTemplate; /** Construction owns the evidence; callers cannot assert a pre-existing map is direct. */ export declare function construct_trusted_schema_application(template: TrustedSchemaTaggedTemplate): TrustedSchemaApplication; /** A successful provider capture is one evaluation, not a cached template object. */ export declare function captured_interpolation_template(capture: InterpolationCapture): TrustedSchemaTaggedTemplate | undefined; /** Capture one instrumented static source occurrence; text is not its identity. */ export declare function capture_trusted_schema_static_source(source: string): TrustedSchemaStaticTemplate; /** Exact static-string construction for an instrumented LiveMap fromHson call. */ export declare function construct_trusted_schema_static_application(template: TrustedSchemaStaticTemplate): TrustedSchemaApplication; /** Records the proposal before calling the unchanged, authoritative schema.use. */ export declare function attempt_trusted_schema_attachment(application: TrustedSchemaApplication, schemaId: string, schema: object, source?: Readonly<{ mapFlow: TrustedSchemaMapFlow; binding: TrustedSchemaSourceBinding; }>): TrustedSchemaAttachment; export declare function consume_trusted_schema_attachments(): readonly TrustedSchemaAttachment[]; export {}; //# sourceMappingURL=lifecycle-evidence.d.ts.map