import type { User } from '../../models/interfaces';
export interface AuthState {
    user: User | null;
    isAuthenticated: boolean;
    isLoading: boolean;
    error: string | null;
    lastUserFetch: number | null;
    isIdentitySynced: boolean;
    isSyncing: boolean;
    loginSuccess: (user: User) => void;
    loginFailure: (error: string) => void;
    logout: () => void;
    fetchUser: (oxyServices: {
        getCurrentUser: () => Promise<User>;
    }, forceRefresh?: boolean) => Promise<void>;
    setUser: (user: User) => void;
    setIdentitySynced: (synced: boolean) => void;
    setSyncing: (syncing: boolean) => void;
}
export declare const useAuthStore: import("zustand").UseBoundStore<import("zustand").StoreApi<AuthState>>;
//# sourceMappingURL=authStore.d.ts.map