import { a as Props, r as ElementType } from "./component-DVlwaWB-.js";
import { O as FlexJustify, d as ResponsiveMarginProps, f as ResponsivePaddingProps, l as ResponsiveGridItemProps, o as ResponsiveBoxProps, p as ResponsiveRadiusProps, s as ResponsiveFlexItemProps } from "./layer-ChlP9Ik6.js";
import { l as ThemeColorStateToneKey, r as ThemeColorButtonModeKey } from "./_system-CTe2lb5l.js";
import { a as ThemeFontWeightKey } from "./font-EtfxKPUz.js";
/**
 * The props that `Box` adds on top of the element it renders as.
 *
 * @public
 */
interface BoxOwnProps extends ResponsiveFlexItemProps, ResponsiveBoxProps, ResponsiveGridItemProps, ResponsiveMarginProps, ResponsivePaddingProps {
  forwardedAs?: ElementType;
}
/**
 * @public
 */
type BoxProps<E extends ElementType = 'div'> = Props<BoxOwnProps, E>;
/**
 * The `Box` component is a basic layout wrapper component which provides utility properties
 * for flex, margins and padding.
 *
 * @public
 */
declare const Box: <E extends ElementType = 'div'>(props: BoxProps<E>) => React.JSX.Element;
/**
 * @public
 */
type ButtonMode = ThemeColorButtonModeKey;
/**
 * @public
 */
type ButtonTextAlign = 'left' | 'right' | 'center';
/**
 * @public
 */
type ButtonTone = ThemeColorStateToneKey;
/**
 * @public
 */
type ButtonWidth = 'fill';
/**
 * @public
 */
interface ButtonOwnProps extends ResponsivePaddingProps, ResponsiveRadiusProps {
  fontSize?: number | number[];
  mode?: ButtonMode;
  icon?: React.ElementType | React.ReactNode;
  iconRight?: React.ElementType | React.ReactNode;
  justify?: FlexJustify | FlexJustify[];
  /**
   * @beta Do not use in production, as this might change.
   */
  loading?: boolean;
  selected?: boolean;
  /**
   * @deprecated Use `gap` instead.
   */
  space?: never;
  gap?: number | number[];
  muted?: boolean;
  text?: React.ReactNode;
  textAlign?: ButtonTextAlign;
  textWeight?: ThemeFontWeightKey;
  tone?: ButtonTone;
  type?: 'button' | 'reset' | 'submit';
  width?: ButtonWidth;
}
/**
 * @public
 */
type ButtonProps<E extends ElementType = 'button'> = Props<ButtonOwnProps, E>;
/**
 * @public
 */
declare const Button: <E extends ElementType = 'button'>(props: ButtonProps<E>) => React.JSX.Element;
export { ButtonTextAlign as a, Box as c, ButtonMode as i, BoxOwnProps as l, ButtonOwnProps as n, ButtonTone as o, ButtonProps as r, ButtonWidth as s, Button as t, BoxProps as u };
//# sourceMappingURL=button-dnqMFkWg.d.ts.map