import { CreateAccountFormValues, CreateUserFormValues } from '@parlor/components';
export declare function useCreateUserOrAccount(): {
    createUser: ({ account, ...payload }: CreateUserFormValues) => Promise<{
        __typename?: "User";
        id: string;
        email?: string;
        firstName?: string;
        lastName?: string;
        fullName?: string;
        accounts?: {
            __typename?: "Account";
            displayName?: string;
            id: string;
        }[];
    }>;
    createAccount: ({ displayName }: CreateAccountFormValues) => Promise<{
        __typename?: "Account";
        id: string;
        displayName?: string;
    }>;
    validateAccountName: (displayName: string) => Promise<boolean>;
    validateUserEmail: (email: string) => Promise<boolean>;
};
