import React, { PropsWithChildren } from 'react';
import { OptionalObjectSchema } from 'yup/lib/object';
import { ObjectSchemaDefinition } from '..';
import { ActionsProps } from '../../Actions';
import { FormActionData, StationErrorStateType } from '../FormStation.models';
interface FormActionProps<T, Y> extends Omit<ActionsProps, 'actions'> {
    validationSchema?: OptionalObjectSchema<ObjectSchemaDefinition<any>>;
    actions?: FormActionData<T, Y>[];
    setStationError: (error: StationErrorStateType) => void;
    setValidationError: () => void;
    submitResponse?: React.MutableRefObject<Y | undefined>;
    alwaysSubmitBeforeAction?: boolean;
    className?: string;
    isFormSubmitting?: boolean;
}
/**
 * Saves the form before the action is performed.
 */
export declare const FormStationAction: <T, Y>(props: PropsWithChildren<FormActionProps<T, Y>>) => JSX.Element;
export {};
//# sourceMappingURL=FormStationActions.d.ts.map