import { Provider } from '@angular/core';
import { MatSnackBar } from '@angular/material/snack-bar';
import { ActivatedRoute, Router } from '@angular/router';
import { FormSubmitMethod, FormType, RxapFormControl, RxapFormGroup } from '@rxap/forms';
import { SetNewPasswordWithResetTokenMethod } from './set-new-password-with-reset-token.method';
import * as i0 from "@angular/core";
export declare const RXAP_RESET_PASSWORD_FORM = "rxap-reset-password";
export declare class ResetPasswordFormSubmitMethod implements FormSubmitMethod<any> {
    private readonly route;
    private readonly setNewPasswordWithResetTokenMethod;
    private readonly snackBar;
    private readonly router;
    constructor(route: ActivatedRoute, setNewPasswordWithResetTokenMethod: SetNewPasswordWithResetTokenMethod, snackBar: MatSnackBar, router: Router);
    call(value: {
        password: string;
    }): boolean | Promise<boolean>;
    static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordFormSubmitMethod, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ResetPasswordFormSubmitMethod>;
}
export interface IResetPasswordForm {
    password: string;
    passwordRepeat: string;
}
export declare class ResetPasswordForm implements FormType<IResetPasswordForm> {
    rxapFormGroup: RxapFormGroup;
    password: RxapFormControl;
    passwordRepeat: RxapFormControl;
    passwordEqual(control: RxapFormControl): {
        equal: string;
    } | null;
    resetRepeat(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ResetPasswordForm, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ResetPasswordForm>;
}
export declare const ResetPasswordFormProviders: Provider[];
