import { type DepponProLayoutTabBridge, type DepponProLayoutTabBridgeOpenOptions } from '../pro-layout/pro-layout-tab-bridge'; export declare const DEPPON_IFRAME_HOST_KEY = "__DEPPON_IFRAME_HOST__"; export interface DepponIframeHostBridge { /** 壳层路由 fullPath(ProLayout 页签 key) */ shellFullPath: string; layoutTabBridge?: DepponProLayoutTabBridge; closeTab: (url?: string) => boolean; closeCurrentTab?: () => boolean; openTab: (location: unknown, options?: DepponProLayoutTabBridgeOpenOptions) => unknown; activateTab?: (location: unknown) => unknown; } /** * 在同源 iframe 子页注入宿主桥接,使子页 deppon-router 可关闭/新开壳层页签。 */ export declare function installIframeHostBridge(contentWindow: Window, shellFullPath: string, parentWin?: Window): boolean; export declare function getIframeHostBridge(win?: Window): DepponIframeHostBridge | null;