import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
import { SdkError, SdkResponse, SupportedLanguages, UserExitCode } from 'onfido-sdk-ui';
import { Plugin } from '@capacitor/core';
import * as i0 from "@angular/core";
interface OnFidoPluginInterface extends Plugin {
    init: (options: {
        token: string;
    }) => Promise<Record<string, string>>;
}
export declare const onFidoPlugin: OnFidoPluginInterface;
export declare class OnfidoComponent implements OnInit, OnDestroy, OnChanges {
    token: string;
    language: SupportedLanguages;
    steps: ('poa' | 'document' | 'face')[];
    disabled: boolean;
    complete: EventEmitter<{
        identifyVerified: SdkResponse;
    }>;
    error: EventEmitter<SdkError>;
    userExitCode: EventEmitter<UserExitCode>;
    response: EventEmitter<{
        identifyVerified: SdkResponse;
    }>;
    onPreviousStep: EventEmitter<any>;
    step: 'intro' | 'onfido' | 'final';
    private _onfidoContainer;
    private _onfido;
    private _response;
    ngOnInit(): void;
    ngOnDestroy(): void;
    ngOnChanges(changes: SimpleChanges): void;
    initOnfido(): void;
    private _initOnfido;
    private _destroyOnfido;
    onResponse(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<OnfidoComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<OnfidoComponent, "app-onfido", never, { "token": "token"; "language": "language"; "steps": "steps"; "disabled": "disabled"; }, { "complete": "complete"; "error": "error"; "userExitCode": "userExitCode"; "response": "response"; "onPreviousStep": "onPreviousStep"; }, never, never>;
}
export {};
//# sourceMappingURL=onfido.component.d.ts.map