export interface UserContextChange { kind: 'policy' | 'session' | 'session-reset'; id?: string; } export declare function onUserContextChange(listener: (change: UserContextChange) => void): () => void; /** Dispatch after the synchronous write/outer transaction has left the stack. */ export declare function notifyUserContextChange(change: UserContextChange): void;