import { IcreateComponent, IoptionsParams } from '../../../types';
import { Logger } from '../../../util/logger';
type LOCAL_URL = string;
export type CKPEmbeddedAppEnv = 'dev' | 'sit' | 'pre' | 'prod';
export type CKPEmbeddedEventType = 'SDK_PAYMENT_SUCCESSFUL' | 'SDK_PAYMENT_FAIL' | 'SDK_PAYMENT_CANCEL' | 'SDK_PAYMENT_CLICK_BACK_TO_MERCHANT';
export declare const getCKPPageAddress: (env: IoptionsParams['environment'] | LOCAL_URL) => string;
export declare class AMSCheckoutPage {
    logger: Logger;
    private _instanceId;
    private iframe;
    private originOptions;
    private readonly APP_IFRAME_ID;
    private eventListener?;
    constructor(options: Pick<IoptionsParams, 'environment' | 'locale' | 'onEventCallback'>);
    private generateIframeSrc;
    private eventListenerWrapper;
    private addListener;
    private removeListener;
    private dispatchToApp;
    /**
     * 挂载组件
     */
    mountComponent(params: Pick<IcreateComponent, 'sessionData'>, selector: string): Promise<void>;
    /**
     * 卸载组件
     */
    unmount(): void;
}
export {};
