import { W as WindowManager } from './types-DdCtDHgt.cjs'; interface DocumentPictureInPictureApi { requestWindow(options?: { width?: number; height?: number; disallowReturnToOpener?: boolean; }): Promise; } declare global { interface Window { documentPictureInPicture?: DocumentPictureInPictureApi; } } interface PopoutOptions { width?: number; height?: number; copyStyles?: boolean; minimizeWhilePopped?: boolean; } interface PopoutHandle { pipWindow: Window; close(): void; } declare function isPopoutSupported(): boolean; declare function popout(wm: WindowManager, id: string, content: HTMLElement, options?: PopoutOptions): Promise; export { type PopoutHandle, type PopoutOptions, isPopoutSupported, popout };