import { JSX } from 'solid-js'; declare const BUTTON_VARIANTS: readonly ["elevated", "filled", "filledTonal", "outlined", "text"]; type ButtonVariant = typeof BUTTON_VARIANTS[number]; type ButtonBaseProps = { as?: T; disabled?: boolean; icon?: JSX.Element; iconAffinity?: "leading" | "trailing"; label: JSX.Element; }; type ButtonVariantProps> = P & ButtonBaseProps; type ButtonFullProps = ButtonVariantProps & { variant: ButtonVariant; }; declare const Button: (props: ButtonFullProps) => JSX.Element; /** * @category Component */ declare const proxy: ButtonComponent; type ButtonVariantComponent = (props: ButtonVariantProps) => JSX.Element; type ButtonComponent = typeof Button & { [Variant in ButtonVariant]: ButtonVariantComponent; }; export { proxy as Button };