import { PropsWithChildren, ReactElement } from 'react'; import { OpenExternalWindowResponse } from './openExternalWindow'; import { PanelPosition, PanelSizeExact } from './types'; interface _PopoutWindowProps { name: string; title?: string; size: PanelSizeExact; popInPanelPosition: PanelPosition; popInPanelSize: PanelSizeExact; observeStyleChanges?: boolean; /** Testing seam to avoid extensively mocking the window object. */ openExternalWindowFn?: () => OpenExternalWindowResponse; className?: string; } export type PopoutWindowProps = PropsWithChildren<_PopoutWindowProps>; export declare const PopoutWindow: ({ name, title, size, popInPanelPosition, popInPanelSize, observeStyleChanges, className, openExternalWindowFn, children, }: PopoutWindowProps) => ReactElement | null; export {};