declare type LoginErrors = 'UNKNOWN_EMAIL' | 'INVALID_PASSWORD' | 'OTP_REQUIRED' | 'INVALID_OTP_TOKEN';
interface LoginResult {
    token: string;
    person: {
        id: string;
        email: string;
    };
}
export declare const useSignIn: () => import("../../lib").TenantMutationExecutor<import("../../lib/variables").GQLVariableValues<{
    email: import("../../lib").GQLVariableType<string, true>;
    password: import("../../lib").GQLVariableType<string, true>;
    expiration: import("../../lib").GQLVariableType<number, false>;
    otpToken: import("../../lib").GQLVariableType<string, false>;
}>, import("../../lib").TenantMutationResponse<LoginResult, LoginErrors>>;
/** @deprecated */
export declare const useLogin: () => import("../../lib").TenantMutationExecutor<import("../../lib/variables").GQLVariableValues<{
    email: import("../../lib").GQLVariableType<string, true>;
    password: import("../../lib").GQLVariableType<string, true>;
    expiration: import("../../lib").GQLVariableType<number, false>;
    otpToken: import("../../lib").GQLVariableType<string, false>;
}>, import("../../lib").TenantMutationResponse<LoginResult, LoginErrors>>;
export {};
//# sourceMappingURL=signIn.d.ts.map