import * as React from 'react'; import * as PropTypes from 'prop-types'; import { SetProps } from '../Set/Set'; import { Omit } from '../types'; import { ButtonProps } from './Button'; export declare type LocalActionButtonsProps = { addonButtons?: React.ReactElement; /** Custom button props for the cancel button */ cancelProps?: Omit; /** Custom text for the cancel button */ cancelText?: string; className?: string; /** Makes the submit button in a loading state */ isLoading?: boolean; onClickSubmit?(): void; onClickCancel?(): void; /** Changes the color of the submit button */ palette?: string; /** Custom button props for the submit button */ submitProps?: Omit; /** Custom text for the submit button */ submitText?: string; /** Button type of the submit button */ type?: string; }; export declare type ActionButtonsProps = LocalActionButtonsProps & Omit; export declare const ActionButtons: React.FunctionComponent; export declare const actionButtonsPropTypes: { addonButtons: PropTypes.Requireable; cancelProps: PropTypes.Requireable>; cancelText: PropTypes.Requireable; className: PropTypes.Requireable; isLoading: PropTypes.Requireable; onClickSubmit: PropTypes.Requireable<(...args: any[]) => any>; onClickCancel: PropTypes.Requireable<(...args: any[]) => any>; palette: PropTypes.Requireable; submitProps: PropTypes.Requireable>; submitText: PropTypes.Requireable; type: PropTypes.Requireable; }; export declare const actionButtonsDefaultProps: { addonButtons: any; cancelProps: {}; cancelText: string; className: any; isLoading: boolean; onClickSubmit: any; onClickCancel: any; palette: string; submitProps: {}; submitText: string; type: string; }; declare const C: React.FunctionComponent; export default C;