import { type FC, type FormEvent, type PropsWithChildren } from 'react'; import { type ResponseStatus } from '../../../hooks/useResponseStatus'; import { type Props as DialogBodyProps } from '../DialogBody'; import { type Props as DialogHeadingProps } from '../DialogHeading'; import { type StepItem } from './StepFormDialogProvider'; import type { useStepFormDialogButton } from './useStepFormDialogButton'; type StepFormHelpers = { /** 指定したステップに移動する関数 */ goto: (nextStep: StepItem) => void; /** ダイアログを閉じる関数 */ close: () => void; /** 現在のステップ情報 */ currentStep: StepItem; }; type CommonButtonType = ReturnType; export type AbstractProps = PropsWithChildren, helpers: StepFormHelpers) => void; /** キャンセルボタン */ closeButton: CommonButtonType; /** 戻るボタン */ backButton: CommonButtonType; }>; export type StepFormDialogContentInnerProps = AbstractProps & { firstStep: StepItem; onClickClose: () => void; responseStatus?: ResponseStatus; /** ステップの総数 */ stepLength: number; onClickBack?: () => void; }; export declare const StepFormDialogContentInner: FC; export {};