import { OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
import { RestService } from '../../../services/rest.service';
import { Router } from '@angular/router';
import { StorageServiceService } from '../../../services/storage.service';
import { EventsService } from '../../../services/events.service';
import { BackgroundModel, InputTextModel, StylesModel } from '../../../styles/style.model';
import { ActionModel } from "../../../styles/style.model";
import BaseSection from '../../../sections/BaseSection';
import { MessageService } from 'primeng/api';
import { MatBottomSheetRef } from '@angular/material/bottom-sheet';
import * as i0 from "@angular/core";
interface AuthenticateSectionModel {
    id: string;
    content: AuthenticateContentModel;
    styles: StylesModel;
    action: ActionModel;
    type: 'STATIC' | 'E_COMMERCE';
}
interface AuthenticateContentModel {
    siteName: InputTextModel;
}
export declare class AuthenticateUserComponent extends BaseSection implements OnInit {
    matData: any;
    bottomsheetData: any;
    private readonly restService;
    private readonly router;
    private readonly matDialog;
    private readonly storageService;
    private readonly dialogRef;
    private readonly bottomsheetRef;
    private readonly _eventService;
    private readonly messageService;
    private fb;
    data?: AuthenticateSectionModel;
    index?: number;
    edit?: boolean;
    delete?: boolean;
    customClass?: string;
    nextComponentColor?: BackgroundModel;
    isLoading: boolean;
    otpData: undefined[];
    otpString: string;
    SignupOtpString: string;
    screen: 'LOGIN' | 'OTP' | 'PASSWORD' | 'CREATEPASSWORD' | 'SIGNUPOTP';
    mobile: string | null;
    email: string | null;
    mobilenumber: string | null;
    emailentered: string | null;
    countryCode: string | null;
    Password: string | null;
    confirmPass: string | null;
    businessId: string | null;
    buttonLoading: boolean;
    constructor(matData: any, bottomsheetData: any, restService: RestService, router: Router, matDialog: MatDialog, storageService: StorageServiceService, dialogRef: MatDialogRef<AuthenticateUserComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticateUserComponent>, _eventService: EventsService, messageService: MessageService, fb: FormBuilder);
    get passwordValid(): import("@angular/forms").AbstractControl<any, any> | null;
    styles: any;
    ngOnInit(): void;
    passwordValidation: FormGroup;
    login: boolean;
    signup: boolean;
    openSignup(): void;
    openLogin(): void;
    passScreen(): void;
    emailValid: boolean;
    confirm: boolean;
    isEmailValid(email: string | null): void;
    isConfirmPAsswordValid(confirmpass: string | null): void;
    move(event: any, idx: number): void;
    close(): void;
    goBack(): void;
    private resetValue;
    generateOTP(): void;
    password: any;
    PasswordHide: boolean;
    newPasswordHide: boolean;
    m_clicked: boolean;
    e_clicked: boolean;
    mobile_click(): void;
    email_click(): void;
    verifyOTP(): void;
    verifySignupOTP(): void;
    payload: any;
    createPassword(): void;
    passData: any;
    signinPassword(): void;
    validateNumber(event: KeyboardEvent): void;
    editSection(): void;
    resendOTP(): void;
    get isMobileValid(): boolean;
    get isMobile(): boolean;
    static ɵfac: i0.ɵɵFactoryDeclaration<AuthenticateUserComponent, [{ optional: true; }, { optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }, null, null, null]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AuthenticateUserComponent, "simpo-authenticate-user", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
}
export {};
