import React, { HTMLAttributes } from 'react';
import { CSS } from '../../../utils/objectToCss';
interface Props {
active: boolean;
children?: React.ReactNode;
className?: string;
onClick?: (event: React.MouseEvent) => void;
'aria-controls'?: string;
'aria-expanded'?: boolean;
'aria-haspopup'?: boolean;
'aria-pressed'?: boolean;
onBlur?: (e: React.FocusEvent) => void;
onDragStart?: (e: React.MouseEvent) => void;
onFocus?: (e: React.FocusEvent) => void;
onKeyDown?: (e: React.KeyboardEvent) => void;
onKeyUp?: (e: React.KeyboardEvent) => void;
onPointerDown?: (e: React.PointerEvent) => void;
onPointerUp?: (e: React.PointerEvent) => void;
onTouchEnd?: (e: React.TouchEvent) => void;
tabIndex?: number;
type?: 'button' | 'reset' | 'submit' | undefined;
css?: CSS;
}
export interface PremadeControlProps {
icon?: React.FC;
controltype?: string;
css?: CSS;
}
export type ButtonProps = Props & Omit, keyof Props>;
declare const Control: React.ForwardRefExoticComponent, keyof Props> & React.RefAttributes>;
export default Control;