import { AfterViewInit, EventEmitter, NgZone, OnDestroy, ElementRef, ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import { CaptchaService } from '../../services/captcha/captcha.service';
import * as i0 from "@angular/core";
export declare class CaptchaComponent implements AfterViewInit, OnDestroy, OnInit, ControlValueAccessor, OnChanges {
    el: ElementRef;
    _zone: NgZone;
    cd: ChangeDetectorRef;
    private captchaService;
    siteKey: string;
    class: string;
    theme: string;
    type: string;
    size: string;
    tabindex: number;
    initCallback: string;
    onResponse: EventEmitter<any>;
    onExpire: EventEmitter<any>;
    showError: boolean;
    isLoading: boolean;
    private onChange;
    private onTouch;
    private _instance;
    private _language;
    get language(): string;
    set language(language: string);
    constructor(el: ElementRef, _zone: NgZone, cd: ChangeDetectorRef, captchaService: CaptchaService);
    ngOnInit(): void;
    writeValue(obj: any): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    setDisabledState?(isDisabled: boolean): void;
    ngOnChanges(changes: SimpleChanges): void;
    ngAfterViewInit(): void;
    loadCaptcha(): void;
    init(): void;
    reset(): void;
    getResponse(): String;
    recaptchaCallback(response: string): void;
    recaptchaExpiredCallback(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<CaptchaComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<CaptchaComponent, "app-captcha", never, { "siteKey": { "alias": "siteKey"; "required": false; }; "class": { "alias": "class"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "type": { "alias": "type"; "required": false; }; "size": { "alias": "size"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "initCallback": { "alias": "initCallback"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "onResponse": "onResponse"; "onExpire": "onExpire"; }, never, never, false, never>;
}
//# sourceMappingURL=captcha.component.d.ts.map