import { type ButtonProps } from "@salt-ds/core"; import { type IconProps } from "@salt-ds/icons"; import { type AriaAttributes, type ComponentType } from "react"; export interface DropdownButtonProps extends ButtonProps { /** * Replace the default Icon component */ IconComponent?: ComponentType; /** * Whether the dropdown button should hide role='option' via 'aria-hidden' */ ariaHideOptionRole?: boolean; /** * If, `true`, the Dropdown button will occupy the full width of it's container */ fullWidth?: boolean; /** * Sets the size of the down arrow icon. If this is not specified, a default size based on density is used. */ iconSize?: IconProps["size"]; /** * Is the dropdown list open */ isOpen?: boolean; /** * Label for the dropdown button */ label?: string; /** * Id for the label. This is needed for ARIA attributes. */ labelId?: string; /** * When the dropdown is collapsed this value is set as aria-posinset on the span containing the selected value * **/ posInSet?: number; /** * When the dropdown is collapsed this value is set as aria-setsize on the span containing the selected value * **/ setSize?: number; /** * * **/ labelAriaAttributes?: Pick; } export declare const DropdownButton: import("react").ForwardRefExoticComponent>;