import type { ReactNode } from 'react'; import type { ButtonProps, ButtonCircularProps } from '@toptal/picasso-button'; declare type ButtonTypeProps = { buttonType?: 'rectangular'; variant?: ButtonProps['variant']; children: ReactNode; }; declare type CircularButtonTypeProps = { buttonType: 'circular'; variant?: ButtonCircularProps['variant']; }; declare type ActionButtonTypeProps = { buttonType: 'action'; variant?: null; children?: ReactNode; }; export declare type Props = Omit & { id?: string; } & (CircularButtonTypeProps | ActionButtonTypeProps | ButtonTypeProps); export declare const SubmitButton: { ({ buttonType, variant, ...restOfProps }: Props): JSX.Element; displayName: string; }; export default SubmitButton; //# sourceMappingURL=SubmitButton.d.ts.map