import { InterpreterFrom } from 'xstate'; import { ResetPasswordMachine } from '../machines'; import { ResetPasswordOptions } from '../types'; import { ActionErrorState, ActionLoadingState } from './types'; export interface ResetPasswordHandlerResult extends ActionErrorState { /** Returns `true` when an email to reset the password has been sent */ isSent: boolean; } export interface ResetPasswordState extends ResetPasswordHandlerResult, ActionLoadingState { } export declare const resetPasswordPromise: (interpreter: InterpreterFrom, email: string, options?: ResetPasswordOptions) => Promise; //# sourceMappingURL=resetPassword.d.ts.map