import React from "react"; import { OverlayChildrenProps } from "../overlay"; export interface WindowProps { children: React.ReactElement | ((props: OverlayChildrenProps) => React.ReactElement); show: boolean; onClose: (result?: T) => void; onBackdropClick?: (result?: T) => void; } declare const Window: ({ children, show, onClose, onBackdropClick }: WindowProps) => React.JSX.Element; export default Window;