import * as react from 'react'; import { ReactNode, SyntheticEvent, ComponentProps } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; import { InternalProps, InteractionProps, StyledComponentProps, OmitInternalProps } from '../../shared/src/types.js'; import { ResponsiveProp } from '../../styling/src/useResponsiveValue.js'; import { TileOrientation } from './useTile.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 = "button"; interface InnerTileProps extends InternalProps, InteractionProps, Omit, "autoFocus" | "onChange"> { /** * Whether or not the tile should autoFocus on render. */ autoFocus?: boolean | number; /** * A controlled checked value. */ checked?: boolean | null; /** * React children. */ children: ReactNode; /** * The initial value of `checked` when uncontrolled. */ defaultChecked?: boolean; /** * Called when the tile checked state change. * @param {SyntheticEvent} event - React's original event. * @param {bool} isChecked - Whether the tile is checked or not. * @returns {void} */ onChange?: (event: SyntheticEvent, isChecked: boolean) => void; /** * The orientation of the tile. */ orientation?: ResponsiveProp; /** * The value to associate with when in a group. */ value?: string; } declare function InnerTile(props: InnerTileProps): react_jsx_runtime.JSX.Element; declare namespace InnerTile { var defaultElement: string; } /** * A tile groups information into an interactive element to let users browse and take action on a group of related items. * * [Documentation](https://wl-orbiter-website.netlify.app/?path=/docs/tile--tile) */ declare const Tile: react.ForwardRefExoticComponent, "ref"> & react.RefAttributes>; type TileProps = ComponentProps; export { InnerTile, type InnerTileProps, Tile, type TileProps };