import type { ReactNode, HTMLAttributes } from "react"; import React from "react"; import type { Property } from "csstype"; import type { MQ } from "../../types"; type ColumnSpans = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; export type GridItemProps = { /** Size of grid area in columns */ columnSpan?: ColumnSpans | MQ; /** Starting column for item positioning, see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-start */ columnStart?: Property.GridColumnStart | MQ; /** Ending column for item positioning, see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-end */ columnEnd?: Property.GridColumnEnd | MQ; /** Row position, see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row */ row?: Property.GridRow | MQ; /** Starting row for item positioning, see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-start */ rowStart?: Property.GridRowStart | MQ; /** Ending row for item positioning, see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-end */ rowEnd?: Property.GridRowEnd | MQ; /** Define grid area, see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-area */ area?: Property.GridArea | MQ; /** Align item in its grid area along block (column) axis, see https://developer.mozilla.org/en-US/docs/Web/CSS/align-self */ alignSelf?: Property.AlignSelf | MQ; /** Justify item in its grid area along inline (row) axis, see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self */ justifySelf?: Property.JustifySelf | MQ; order?: Property.Order | MQ; /** display item at given breakpoint */ show?: boolean | MQ; children: ReactNode; "data-e2e-test-id"?: string; } & HTMLAttributes; export declare function GridItem({ "data-e2e-test-id": dataE2eTestId, children, ...rest }: GridItemProps): React.ReactElement; export {};