import { AuthResponse, LoginParams, RegisterParams } from '../auth';
interface UseAuthReturn {
    user: AuthResponse['user'] | null;
    userShopId: number | null;
    isLoading: boolean;
    error: string | null;
    login: (params: LoginParams) => Promise<void>;
    register: (params: RegisterParams) => Promise<void>;
    logout: () => void;
    isAuthenticated: boolean;
}
export declare function useAuth(storageKey?: string): UseAuthReturn;
export {};
