import { LegacyRef, MouseEvent, ReactElement } from 'react'; import { ButtonSize } from '../constants'; export interface BCButtonProps { className?: string; onClick: (event: MouseEvent) => void; onSubClick?: (key: string) => void; rtl?: boolean; text: string | ReactElement; text2?: string; type?: 'button' | 'submit' | 'reset' | undefined; disabled?: boolean; loading?: boolean; icon?: string | ReactElement; hasDropList?: boolean; refProp?: LegacyRef; onClick2?: () => void; buttonSize?: ButtonSize; buttonType?: 'primary-btn' | 'sec-btn' | 'rounded-btn'; loadingIconPath?: string; } export interface BCButtonState { showDropdown: boolean; } export declare const BCButton: ({ className, onClick, rtl, text, disabled, loading, icon, refProp, hasDropList, onClick2, text2, type, buttonSize, buttonType, loadingIconPath, }: BCButtonProps) => import("@emotion/react/jsx-runtime").JSX.Element; export default BCButton;