import "isomorphic-fetch"; declare type CreateAccountSuccess = { success: true; }; export declare type CreateAccountError = "ACCOUNT_EXISTS" | "INVALID_EMAIL" | "WEAK_PASSWORD" | "UNKNOWN"; export declare type CreateAccountResponse = CreateAccountSuccess | { error: CreateAccountError; }; declare type CreateAccountInput = { email: string; password?: string; }; export declare type Args = { brandId: string; credentials: CreateAccountInput; }; declare const createAccount: ({ brandId, credentials }: Args) => Promise; export default createAccount;