import { EventEmitter } from '../../stencil-public-runtime';
import { ComponentErrorEvent } from '../../api/ComponentEvents';
import JustifiAnalytics from '../../api/Analytics';
type TerminalState = 'loading' | 'ready' | 'payment-failed' | 'completed' | 'expired' | 'error';
export declare class JustifiQrTerminal {
    authToken: string;
    checkoutId: string;
    pollIntervalMs: number;
    pollTimeoutMs: number;
    terminalState: TerminalState;
    paymentStatus: string;
    errorMessage: string;
    checkoutCompleted: EventEmitter<{
        checkoutId: string;
        paymentStatus: string;
    }>;
    checkoutExpired: EventEmitter<{
        checkoutId: string;
    }>;
    errorEvent: EventEmitter<ComponentErrorEvent>;
    analytics: JustifiAnalytics;
    private pollIntervalHandle;
    private pollTimeoutHandle;
    private failedDismissHandle;
    private seenCompletionCreatedAts;
    private inFlight;
    private getCheckout;
    componentWillLoad(): void;
    disconnectedCallback(): void;
    propChanged(): void;
    suppressInnerErrors(event: CustomEvent): void;
    private get effectivePollInterval();
    private initialize;
    private handleInitialLoad;
    private startPolling;
    private tick;
    private handlePollResult;
    private resolvePaymentStatus;
    private stopAll;
    render(): any;
}
export {};
