import { DefaultResourceInterface } from "../core/resource"; export interface IUMSCredentials { email: string; password: string; } export interface IUMSSignInOAuth { code: string; state: string; } export declare type OAuthActionType = "sign-in" | "sign-up"; export interface IUMOAuthInitOptions { action: OAuthActionType; provider: string; redirect?: string; } export declare type IUMSExtraFields = Omit<{ [key: string]: any; }, "email" | "password">; export declare type IUMSSignUpFields = IUMSCredentials & IUMSExtraFields; export interface IUMSSignInAdditionalOptions { default: boolean; alias: string; } export declare type IUMSSignInOptions = (IUMSCredentials | IUMSSignInOAuth) & Partial; export declare type DefaultUsersInterface = { email: string; active: boolean; }; export declare type UsersInterface = T & DefaultResourceInterface & DefaultUsersInterface;