import { PolymorphicComponent } from './_shared'; import { HStackProps } from './HStack'; import { VStackProps } from './VStack'; export declare type ListGroupsProps = Pick & { /** * Renders an "inset" style for inner `ListGroup` components. * * @default false */ inset?: boolean; }; /** * `ListGroups` is a layout component that contains a collection of `ListGroup` components, automatically spacing them apart. * * @example * ```jsx * * ... * ... * ... * * ``` */ export declare const ListGroups: PolymorphicComponent<'div', ListGroupsProps>; export declare type ListGroupProps = { /** * Renders a separator between each child item. */ separator?: boolean; /** * The amount of space between each child element. */ spacing?: Pick; }; /** * `ListGroup` is a layout component that renders a collection of grouped content, such as controls, actions, and links. * * @example * ```jsx * * * * * ... * ... * * * ``` */ export declare const ListGroup: PolymorphicComponent<'div', ListGroupProps>; export declare type ListGroupHeaderProps = HStackProps & {}; /** * `ListGroupHeader` is a layout component that renders the header section of a `ListGroup`. Only one `ListGroupHeader` should be used within a `ListGroup`. * * @example * ```jsx * * Color * ... * ... * ... * * ``` * * `ListGroupHeader` can render actionable components on the right. * @example * ```jsx * * * Color * * * * ``` */ export declare const ListGroupHeader: PolymorphicComponent< 'div', ListGroupHeaderProps >; export declare type ListGroupFooterProps = HStackProps & {}; /** * `ListGroupFooter` is a layout component that renders the footer section of a `ListGroup`. Only one `ListGroupFooter` should be used within a `ListGroup`. * * @example * ```jsx * * ... * ... * ... * Color * * ``` */ export declare const ListGroupFooter: PolymorphicComponent< 'div', ListGroupFooterProps >;