import { Signal } from '@tempots/dom';
import { BetterAuthClient, BetterAuthSession, BetterAuthUser } from './types';
export interface SessionManager {
    session: Signal<BetterAuthSession | null>;
    isPending: Signal<boolean>;
    user: Signal<BetterAuthUser | null>;
    isAuthenticated: Signal<boolean>;
    refresh: () => Promise<void>;
    dispose: () => void;
}
export declare function createSessionManager(client: BetterAuthClient, options?: {
    refreshInterval?: number;
    onSessionChange?: (session: BetterAuthSession | null) => void;
}): SessionManager;
