import type { SDKState, User } from '../types/index.js'; export interface StateStore { get(): SDKState; set(patch: Partial): void; subscribe(fn: (state: SDKState) => void): () => void; reset(): void; setUser(user: User | null): void; } export declare function createInitialState(): SDKState; export declare function createState(): StateStore;