import type { ElementType } from "react"; import type { PolymorphicComponentPropWithRef } from "../../helpers/generic-as-prop"; import type { DynamicStringEnumKeysOf, FlowbiteColors, FlowbiteSizes, FlowbiteStateColors, ThemingProps } from "../../types"; export interface ButtonTheme { base: string; disabled: string; fullSized: string; grouped: string; pill: string; size: ButtonSizes; color: ButtonColors; outlineColor: ButtonOutlineColors; } export interface ButtonColors extends Omit { [key: string]: string; default: string; alternative: string; } export interface ButtonOutlineColors extends Omit { [key: string]: string; } export interface ButtonSizes extends Pick { [key: string]: string; } export type ButtonProps = PolymorphicComponentPropWithRef; fullSized?: boolean; outline?: boolean; pill?: boolean; size?: DynamicStringEnumKeysOf; }> & ThemingProps; type ButtonComponentType = ((props: ButtonProps) => JSX.Element) & { displayName?: string; }; export declare const Button: ButtonComponentType; export {};