import * as React from 'react'; import { Palette, Omit } from '../types'; import { ButtonProps } from '../Button'; import { SetProps } from '../Set'; export declare type LocalActionButtonsProps = { addonButtons?: React.ReactElement; /** Custom button props for the cancel button */ cancelProps?: Omit; /** Custom text for the cancel button */ cancelText?: string; /** Makes the submit button in a loading state */ isLoading?: boolean; onClickSubmit?(): void; onClickCancel?(): void; /** Changes the color of the submit button */ palette?: Palette; /** Size of the buttons */ size?: ButtonProps['size']; /** Custom button props for the submit button */ submitProps?: Omit; /** Custom text for the submit button */ submitText?: string; /** Button type of the submit button */ type?: ButtonProps['type']; }; export declare type ActionButtonsProps = SetProps & LocalActionButtonsProps; export declare const ActionButtons: React.ForwardRefExoticComponent & React.RefAttributes> & { displayName?: string; useProps: (props?: Partial, config?: { disableCSSProps?: string[]; themeKey?: string; }) => any; };