import * as react from 'react'; import { ReactNode, SyntheticEvent, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { AbstractGroupProps } from '../../group/src/Group.js'; import { OmitInternalProps } from '../../shared/src/types.js'; import { ResponsiveProp } from '../../styling/src/useResponsiveValue.js'; import '../../layout/src/Flex.js'; import '../../styling/src/styled-system/props-handler.js'; import 'csstype'; import '../../shared/src/type-fest.js'; import '../../styling/src/styled-system/StylingContext.js'; import '../../styling/src/BreakpointProvider.js'; declare const DefaultElement = "div"; interface InnerTileGroupProps extends Omit, "autoFocus" | "fluid" | "gap" | "onChange" | "orientation" | "wrap"> { /** * Whether or not the first tile of the group should autoFocus on render. */ autoFocus?: boolean | number; /** * React children. */ children: ReactNode; /** * The initial value of `value`. */ defaultValue?: string[]; /** * Whether or not the tiles are disabled. */ disabled?: boolean; /** * Called when any of the children is checked or unchecked.. * @param {SyntheticEvent} event - React's original event. * @param {string[]} value - The new value. * @returns {void} */ onChange?: (event: SyntheticEvent, value: string[]) => void; /** * The number of tiles per row. */ rowSize?: ResponsiveProp; /** * The type of selection that is allowed. */ selectionMode?: "none" | "single" | "multiple"; /** * The value of the tile group. */ value?: string[] | null; } interface UnselectableGroupProps extends Omit, "autoFocus"> { autoFocus?: boolean | number; } declare function InnerTileGroup({ children, defaultValue, disabled, forwardedRef, onChange, rowSize, selectionMode, value, ...rest }: InnerTileGroupProps): react_jsx_runtime.JSX.Element; declare namespace InnerTileGroup { var defaultElement: string; } /** * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/tile--tile) */ declare const TileGroup: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type TileGroupProps = ComponentProps; export { InnerTileGroup, type InnerTileGroupProps, TileGroup, type TileGroupProps, type UnselectableGroupProps };