import { ElementType, ReactNode } from 'react'; import { PolymorphicComponent, PolymorphicComponentProps } from '../PolymorphicComponent/index.js'; export declare type ButtonProps = { busy?: boolean; busyIndicator?: ReactNode; className?: string; }; export declare type ButtonConfig = PolymorphicComponentProps>; declare const defaultElement = "button"; export declare const createButton: = "button">({ className: configClassName, element: configElement, style: configStyle, ...config }: ButtonConfig) => PolymorphicComponent; export {}; //# sourceMappingURL=createButton.d.ts.map