import { OnInit, OnDestroy, EventEmitter, ChangeDetectorRef } from '@angular/core';
import { UrlTree } from '@angular/router';
import { FormGroup } from '@angular/forms';
import { Subscription } from 'rxjs';
import { AuthError, User } from '@supabase/supabase-js';
import { RouteService } from '../route.service';
import { LogService } from '../logging/log.service';
import { SupabaseConfig } from '../supabase-config';
import { SupabaseService } from '../supabase.service';
import { NotifyService } from '../notify/notify.service';
import * as i0 from "@angular/core";
export declare class SetPasswordComponent implements OnInit, OnDestroy {
    title: string;
    saveLabel: string;
    savingLabel: string;
    confirmPassword: boolean;
    redirectTo: string | string[] | UrlTree | null | undefined;
    saved: EventEmitter<User | null>;
    readonly saving: import("@angular/core").WritableSignal<boolean>;
    readonly errorMessage: import("@angular/core").WritableSignal<string>;
    readonly confirmMisMatch: import("@angular/core").WritableSignal<boolean>;
    readonly form: FormGroup;
    protected readonly log: LogService;
    protected readonly notify: NotifyService;
    protected readonly config: SupabaseConfig;
    protected readonly supabase: SupabaseService;
    protected readonly routeService: RouteService;
    protected readonly changeDetector: ChangeDetectorRef;
    protected readonly subscriptions: Subscription[];
    ngOnInit(): void;
    ngOnDestroy(): void;
    submit(): Promise<void>;
    onError(error: AuthError): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<SetPasswordComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<SetPasswordComponent, "supabase-set-password", never, { "title": { "alias": "title"; "required": false; }; "saveLabel": { "alias": "saveLabel"; "required": false; }; "savingLabel": { "alias": "savingLabel"; "required": false; }; "confirmPassword": { "alias": "confirmPassword"; "required": false; }; "redirectTo": { "alias": "redirectTo"; "required": false; }; }, { "saved": "saved"; }, never, never, true, never>;
}
