import type { SessionController, SessionState } from "../../app/controllers/session-controller.js"; type SessionStateSource = Pick; export interface SessionStateStore { readonly getSnapshot: () => SessionState; readonly subscribe: (listener: () => void) => () => void; } export declare function createSessionStateStore(session: SessionStateSource): SessionStateStore; export declare function useSessionState(session: SessionController): SessionState; export {};