import { LayoutOptions } from '../../../atoms/RecordPage/props/layoutOptions'; import { LoadingProps } from '../../../atoms/RecordPage/props/loading'; import { RefetchResourceState } from '../../../atoms/RecordPage/props/refetchResource'; import { RecordInitializedState } from '../../../atoms/RecordPage/state/initialized'; import { RecordPageLayout } from '../../../atoms/RecordPage/state/layout'; import { ResourceNavigation } from '../../../atoms/RecordPage/state/resourceNavigation'; import { NavigateFunction } from '../../../atoms/shared/props/navigate'; import { SetNotificationType } from '../../../Provider'; import { RecordEditorOptions, RecordPageType, WindowControlOptionsType } from '../../../templates/RecordPage/types'; import { RecordPageLabels } from '../../../templates/RecordPage/types/labels'; import { DefaultOperationOptions, ResourcePaths } from '../../../types'; export type StateConfirmationComponentChildrenProps = { defaultOperationOptions: DefaultOperationOptions | undefined; historyPushStateProps: NavigateFunction; historyReplaceStateProps: NavigateFunction; notification: SetNotificationType; resourcePaths: ResourcePaths | undefined; editorOptions: RecordEditorOptions; layoutOptions: LayoutOptions; loadingProps: LoadingProps; page: RecordPageType; refetchResource: RefetchResourceState['refetchResource']; resource: any; windowControlOptions?: WindowControlOptionsType; deleteRecordState?: { executeDelete?: () => Promise; }; initialFormState: Partial; recordInitializedState: RecordInitializedState; recordLabelsState: RecordPageLabels; layoutState: RecordPageLayout; resourceNavigationState: { prev?: ResourceNavigation; next?: ResourceNavigation; }; recordPageSiteLeaveState: { historyPushState: (url: string, options?: { hasSaved?: boolean | undefined; }) => void; historyReplaceState: (url: string) => void; onSiteLeave: (() => void) | undefined; onSiteLeaveCancel: (() => void) | undefined; showSiteLeave: (onConfirmProps: () => void) => void; automaticallyShowSiteLeave: (onConfirmProps: () => void) => void; }; rendererType: 'index' | undefined; }; export declare const StateConfirmationComponent: ({ isDirty, children, }: { isDirty: boolean; children: any; }) => JSX.Element;