export interface RegisterFormProps { domain: string; onRegister: AuthenticationResult; onError: AuthenticationError; } /** * Called on the resolve of the authentication operation. * @param result boolean indicating the status of the authentication */ export declare type AuthenticationResult = (result: boolean) => void; /** * Called on error during authentication flow. passes error context to the callback. */ export declare type AuthenticationError = (error: any) => void;