import { AbstractGroupProps } from "../../group"; import { ComponentProps, ReactNode, SyntheticEvent } from "react"; import { OmitInternalProps } from "../../shared"; import { ResponsiveProp } from "../../styling"; declare const DefaultElement = "div"; export 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; } export interface UnselectableGroupProps extends AbstractGroupProps { autoFocus?: boolean | number; } export declare function InnerTileGroup({ children, defaultValue, disabled, forwardedRef, onChange, rowSize, selectionMode, value, ...rest }: InnerTileGroupProps): JSX.Element; export declare namespace InnerTileGroup { var defaultElement: string; } /** * [Documentation](https://orbit.sharegate.design/?path=/docs/tile--tile) */ export declare const TileGroup: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type TileGroupProps = ComponentProps; export {};