import { PolymorphicProps } from "@gnist/component-utils"; import * as React from "react"; import { ButtonHTMLAttributes, ElementType } from "react"; import { DensitySizes } from "../../../foundation/typography/index.js"; export type ButtonProps = ButtonHTMLAttributes; export type BoxedButtonProps = PolymorphicProps & { /** * Density of the button * @default default */ density?: DensitySizes; /** * Loading state of the button and a placeholder text for screen readers */ loading?: { /** * Loading state of the button */ isLoading: boolean; /** * Placeholder text for screen readers */ loadingText: string; }; }; export declare const BoxedButtonBase: React.ForwardRefExoticComponent & { /** * Density of the button * @default default */ density?: DensitySizes; /** * Loading state of the button and a placeholder text for screen readers */ loading?: { /** * Loading state of the button */ isLoading: boolean; /** * Placeholder text for screen readers */ loadingText: string; }; }, "ref"> & React.RefAttributes>; //# sourceMappingURL=ButtonBase.d.ts.map