import { PlatformEnum } from '../../../types';
export type IPopUpParams = {
    url: string;
    widthPadding: number;
    heightPadding: number;
    platform: PlatformEnum;
    showCloseOnLoading: boolean;
    onCloseOnLoading: () => void;
    textDirection?: 'ltr' | 'rtl';
    loadingConfig?: {
        theme?: string;
        backgroundPrimary?: string;
    };
};
/**
 * @author 谦彧 <zhangmian.zm@alipay.com>
 * @date 2024/9/22
 */
export declare class PopupManager {
    private popupUrlQuery;
    popupApp: HTMLIFrameElement;
    setPopupUrlQuery(queryParams: string): void;
    /**
     * 合并URL参数, 优先加载弹窗参数作为基准, 用baseUrl参数覆盖弹窗参数
     * @param baseUrl 基础URL
     * @returns 合并后的URL
     */
    private mergeUrlParams;
    popup(data: IPopUpParams): Promise<void>;
    pop(): void;
}
