/** Stored self-context id, or null when absent, empty, or path-like. */ export declare function normalizeStoredSelfContextId(value: unknown): string | null; /** * Agent-facing projection of an `agentSelfContexts` document; null for anything * that is not a usable cross-session context. Ownership and conversation * scoping stay with the CALLER — both consumers check them against their own * Firestore handle before calling this. */ export declare function serializeSelfContext(id: string, data: Record): Record | null;