type CreateModalProps = {
    device: any;
    url: string;
    widthPadding?: number;
    styleConfig?: {
        backgroundColor?: string;
    };
    loadingConfig?: {
        theme?: string;
        backgroundPrimary?: string;
    };
    showCloseOnLoading: boolean;
    onCloseOnLoading: () => void;
    textDirection: 'ltr' | 'rtl';
};
export declare const getCurrentTheme: (curTheme?: string) => any;
export declare const createCustomSheet: (curTheme?: 'dark' | 'light') => void;
export declare const renderPopupLoading: (container: HTMLDivElement, curTheme: 'dark' | 'light') => void;
export declare const removePopupLoading: (isShowMockup?: boolean) => void;
export declare const insertStyleSheet: () => void;
export declare function createCloseIcon({ onClose, textDirection }: {
    onClose: () => void;
    textDirection: 'ltr' | 'rtl';
}): HTMLDivElement;
export declare const createModal: ({ device, url, loadingConfig, styleConfig, showCloseOnLoading, onCloseOnLoading, textDirection, }: CreateModalProps) => Promise<HTMLIFrameElement>;
export declare const destroyModal: () => void;
export {};
