import { record } from '@synnaxlabs/x'; import { ReactElement } from 'react'; import { Button as Base } from '../button'; import { Flex } from '../flex'; import { FrameProps } from './Frame'; export interface ButtonsProps | undefined = record.Keyed> extends Omit, Omit, "getItem" | "subscribe" | "data"> { /** The selectable keys, in render order. */ keys: K[] | readonly K[]; /** Whether to render the buttons flat and inert, for use inside a preview. */ preview?: boolean; } /** * A packed row of {@link Button}s acting as one selection. Use it in place of a dropdown * when the options are few and fixed. * * @example * * Fast * */ export declare const Buttons: ({ keys, value, onChange, allowNone, multiple, preview, children, ...rest }: ButtonsProps) => ReactElement; /** Props for {@link Button}. */ export interface ButtonProps extends Omit { /** The key this button selects. */ itemKey: K; } /** One option inside {@link Buttons}. It toggles on when its `itemKey` is selected. */ export declare const Button: ({ itemKey, className, ...rest }: ButtonProps) => ReactElement | null; //# sourceMappingURL=Button.d.ts.map