import React from 'react';
export interface FormControlsProps {
    /** Text that will be shown in cancel control. */
    cancelLabel?: React.ReactNode;
    /** Disable the action buttons, does not affect the extra custom components */
    disabled?: boolean;
    /** Extra component placed at the end of the controls. */
    extraEnd?: React.ReactNode;
    /** Extra component placed at the start of the controls. */
    extraStart?: React.ReactNode;
    /** If defined, it will override current form flow for this component */
    isHorizontal?: boolean;
    /** *Deprecated, use submitting* */
    isSaving?: boolean | string;
    /** Will disabled the controls and show loading indicators where applicable. If it's a string, it will be shown next to the loading indicator. */
    submitting?: boolean | string;
    /** Callback fired when cancel button is pressed. If undefined cancel button won't be shown. */
    onCancel?: () => void;
    /** Callback fired when delete button is pressed. If undefined the control won't be shown. */
    onDelete?: () => void;
    /** *Deprecated, use onSubmit* Callback fired when submit button is pressed. If undefined the control won't be shown. */
    onSave?: () => void;
    /** Callback fired when submit button is pressed. If undefined the control won't be shown. */
    onSubmit?: () => void;
    /** Text that will be shown in cancel control. */
    submitLabel?: React.ReactNode;
}
declare const FormControls: ({ cancelLabel, disabled, extraEnd, extraStart, isHorizontal, isSaving, submitting, onCancel, onDelete, onSave, onSubmit, submitLabel, }: FormControlsProps) => React.ReactElement;
export { FormControls };
