import React from 'react';
import { type LoginErrorCode } from '@/types/errors';
interface LoginError {
    message: string;
    code?: LoginErrorCode | 'NETWORK_ERROR';
}
export declare function useLoginForm(): {
    email: string;
    setEmail: React.Dispatch<React.SetStateAction<string>>;
    password: string;
    setPassword: React.Dispatch<React.SetStateAction<string>>;
    showPassword: boolean;
    setShowPassword: React.Dispatch<React.SetStateAction<boolean>>;
    isLoading: boolean;
    loadingStep: 'auth' | 'prefs';
    error: LoginError | null;
    handleSubmit: (e: React.FormEvent) => Promise<void>;
};
export {};
//# sourceMappingURL=useLoginForm.d.ts.map