import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { EnvironmentService } from '@aztrix/helpers';
import { Locale } from '@aztrix/models';
import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class StripeCheckoutComponent implements OnInit, OnChanges, AfterViewInit {
    private _environment;
    private _locale$;
    clientSecret: string;
    accountId: string;
    cancel: EventEmitter<void>;
    payed: EventEmitter<void>;
    _checkoutElement: ElementRef;
    private _stripe;
    private _elements;
    private _stripeApiKey;
    private _afterViewInit;
    error: string;
    loading$: BehaviorSubject<boolean>;
    constructor(_environment: EnvironmentService, _locale$: BehaviorSubject<Locale>);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    private _updateElements;
    ngAfterViewInit(): void;
    confirmPayment(): Promise<void>;
    static ɵfac: i0.ɵɵFactoryDeclaration<StripeCheckoutComponent, [null, { optional: true; }]>;
    static ɵcmp: i0.ɵɵComponentDeclaration<StripeCheckoutComponent, "ax-stripe-checkout", never, { "clientSecret": "clientSecret"; "accountId": "accountId"; }, { "cancel": "cancel"; "payed": "payed"; }, never, never, false, never>;
}
