import type { CooldownStore, DismissalStore, FrequencyStore, ScopedStorage } from './types';
export interface StateStoreOptions {
    /** Namespace prefix for storage keys */
    namespace?: string;
}
/**
 * StateStore class for unified state management.
 */
export declare class StateStore {
    /** Session-scoped storage (cleared on browser close) */
    readonly session: ScopedStorage;
    /** User-scoped storage (persists across sessions) */
    readonly user: ScopedStorage;
    /** Dismissal tracking */
    readonly dismissals: DismissalStore;
    /** Cooldown tracking */
    readonly cooldowns: CooldownStore;
    /** Frequency tracking */
    readonly frequency: FrequencyStore;
    private readonly namespace;
    private readonly namespacedStorages;
    constructor(options?: StateStoreOptions);
    /**
     * Create a namespaced storage scope.
     * Useful for isolating state by adaptive/tile.
     *
     * @param namespace - Additional namespace segment
     * @returns A ScopedStorage with the nested namespace
     */
    ns(namespace: string): ScopedStorage;
}
/**
 * Create a StateStore instance.
 */
export declare function createStateStore(options?: StateStoreOptions): StateStore;
