import { BaseResource } from '../../pages/types'; import type { IndexPageWindowOptionsType } from './types'; /** * メインウインドウとしてページ画面のすぐ上に重ねて表示されるウインドウの表示を行うコンポーネント * ドロワーのように左右に並べて表示するパターンのため、HierarchicalWindowを1つだけ利用して表示をする * メインウインドウの表示・非表示の際は確実にアニメーションが行われるように、表示するウインドウの情報を保持するための処理を行っている */ export declare const PrimaryWindows: ({ divRef, primaryWindows, layoutToggle, closeWindows, closeWindowById, setIsFieldEdited, onRequestOpenSubWindow, onRequestOpenInternalSubWindow, onUpdateInternalSubWindowContent, }: { divRef: React.RefObject; primaryWindows: { windowContent: IndexPageWindowOptionsType; width: number; height: number; layout: 'screen' | 'drawer-scrim' | 'drawer'; }[]; layoutToggle?: { execute: () => void; targetType: 'screen' | 'drawer-scrim' | 'drawer'; } | undefined; closeWindows: () => void; closeWindowById: (props: { id: string; }) => void; setIsFieldEdited: React.Dispatch>; onRequestOpenSubWindow: (props: { id: string; }) => void; onRequestOpenInternalSubWindow: (options: { id: string; layout: 'screen' | 'drawer'; }) => void; onUpdateInternalSubWindowContent: (props: { id: string; render: () => React.ReactNode; }) => void; }) => JSX.Element;