import { ScreenScaleSnapshot } from './screenScaleContext';
export declare function isMicroAppEnvironment(): boolean;
/** micro-app 子应用内获取真实顶层 window */
export declare function getRawWindow(): Window;
export declare function getTopViewportSize(): {
    width: number;
    height: number;
};
/**
 * Teleport 目标：micro-app 下优先挂到真实 document.body，否则子应用 body
 */
export declare function resolveTeleportTarget(customSelector?: string): string | HTMLElement;
/** teleportDialog 时按顶层屏幕视口计算缩放（与子应用容器无关） */
export declare function buildViewportScaleSnapshot(options: {
    designWidth: number;
    designHeight: number;
    scaleMode?: string;
    alignX?: string;
    alignY?: string;
    renderMode?: string;
    minScale?: number;
    maxScale?: number;
    disabledScale?: boolean;
}): ScreenScaleSnapshot;
