import { ReactNode } from "react";
import { FloatingWindowSize } from "../contexts/FloatingWindowContext";
import "./FloatingWindow.scss";
interface PopoutWindowProps {
    name: string;
    title?: string;
    closeWindow: () => void;
    children: ReactNode;
    size: FloatingWindowSize;
    /** Testing seam to avoid extensively mocking the window object. */
    openExternalWindowFn?: () => OpenExternalWindowResponse;
}
declare type OpenExternalWindowResponse = {
    externalWindow: Window | null;
    onCloseExternalWindow: (() => void) | null;
};
export declare function makePopoutId(title: string): string;
export declare function popoutWindowDivId(windowTitle: string): string;
export declare const PopoutWindow: (props: PopoutWindowProps) => JSX.Element | null;
export {};
//# sourceMappingURL=PopoutWindow.d.ts.map