import type{RetrievalChunk}from'../../ai/types.js'; /** Runtime boundary for public collection rows before a renderer dereferences their fields. */ export declare function isRecord(value:unknown):value is Record; /** Identity validation shared by retrieval views with keyed public data. Validation trims only * to decide whether an identity is blank; retained spelling remains byte-for-byte unchanged. */ export declare function isNonBlankIdentity(value:unknown):value is string; /** Runtime boundary for retrieval rows before any renderer dereferences their nested source. */ export declare function isValidRetrievalChunk(value:unknown):value is RetrievalChunk; /** Keeps the first row for every nonblank identity without mutating the input collection. */ export declare function firstByRetrievalIdentity(values:readonly T[],identity:(value:T)=>unknown):T[]; /** Bounded public identifier arrays are stable frozen snapshots after assignment. Cache their * first-wins nonblank projection so render, lookup, and event paths share one exact sequence. */ export declare function canonicalIdentityList(values:readonly unknown[]):readonly string[];