import { Observable, BehaviorSubject } from 'rxjs';
import { WindowRef } from './window-ref.service';
import { DocumentRef } from './document-ref.service';
import * as i0 from "@angular/core";
export interface LazyStripeAPILoaderStatus {
    loaded: boolean;
    loading: boolean;
    error: boolean;
}
export declare class LazyStripeAPILoader {
    platformId: any;
    window: WindowRef;
    document: DocumentRef;
    status: BehaviorSubject<LazyStripeAPILoaderStatus>;
    constructor(platformId: any, window: WindowRef, document: DocumentRef);
    asStream(): Observable<LazyStripeAPILoaderStatus>;
    isReady(): boolean;
    load(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<LazyStripeAPILoader, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<LazyStripeAPILoader>;
}
