/** * Copyright IBM Corp. 2016, 2026 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { type HTMLAttributes, type ReactNode, type KeyboardEvent, type ChangeEvent, type MouseEvent } from 'react'; import PropTypes from 'prop-types'; type DivAttrs = HTMLAttributes; export interface StructuredListWrapperProps extends DivAttrs { /** * Specify a label to be read by screen readers on the container node */ 'aria-label'?: string; /** * Provide the contents of your StructuredListWrapper */ children?: ReactNode; /** * Specify an optional className to be applied to the container node */ className?: string; /** * Specify if structured list is condensed, default is false */ isCondensed?: boolean; /** * Specify if structured list is flush, default is false */ isFlush?: boolean; /** * Specify whether your StructuredListWrapper should have selections */ selection?: boolean; /** * Specify which row will be selected initially */ selectedInitialRow?: string; } export declare function StructuredListWrapper(props: StructuredListWrapperProps): import("react/jsx-runtime").JSX.Element; export declare namespace StructuredListWrapper { var propTypes: { /** * Specify a label to be read by screen readers on the container node */ "aria-label": PropTypes.Requireable; /** * Deprecated, please use `aria-label` instead. * Specify a label to be read by screen readers on the container note. */ ariaLabel: (props: Record, propName: string, componentName: string, ...rest: any[]) => any; /** * Provide the contents of your StructuredListWrapper */ children: PropTypes.Requireable; /** * Specify an optional className to be applied to the container node */ className: PropTypes.Requireable; /** * Specify if structured list is condensed, default is false */ isCondensed: PropTypes.Requireable; /** * Specify if structured list is flush, not valid for selection variant, default is false */ isFlush: PropTypes.Requireable; /** * Specify whether your StructuredListWrapper should have selections */ selection: PropTypes.Requireable; /** * Specify which row will be selected initially */ selectedInitialRow: PropTypes.Requireable; }; } export interface StructuredListHeadProps extends DivAttrs { /** * Provide the contents of your StructuredListHead */ children?: ReactNode; /** * Specify an optional className to be applied to the node */ className?: string; } export declare function StructuredListHead(props: any): import("react/jsx-runtime").JSX.Element; export declare namespace StructuredListHead { var propTypes: { /** * Provide the contents of your StructuredListHead */ children: PropTypes.Requireable; /** * Specify an optional className to be applied to the node */ className: PropTypes.Requireable; }; } export interface StructuredListBodyProps extends DivAttrs { /** * Provide the contents of your StructuredListBody */ children?: ReactNode; /** * Specify an optional className to be applied to the container node */ className?: string; head?: boolean; /** * Provide a handler that is invoked on the key down event for the control */ onKeyDown?(event: KeyboardEvent): void; } export declare function StructuredListBody(props: StructuredListBodyProps): import("react/jsx-runtime").JSX.Element; export declare namespace StructuredListBody { var propTypes: { /** * Provide the contents of your StructuredListBody */ children: PropTypes.Requireable; /** * Specify an optional className to be applied to the container node */ className: PropTypes.Requireable; head: PropTypes.Requireable; /** * Provide a handler that is invoked on the key down event for the control */ onKeyDown: PropTypes.Requireable<(...args: any[]) => any>; }; } export interface StructuredListRowProps extends DivAttrs { /** * Provide the contents of your StructuredListRow */ children?: ReactNode; /** * Specify an optional className to be applied to the container node */ className?: string; /** * Specify whether your StructuredListRow should be used as a header row */ head?: boolean; /** * Provide a handler that is invoked on the click */ onClick?(event: MouseEvent): void; /** * Provide a handler that is invoked on the key down event for the control */ onKeyDown?(event: KeyboardEvent): void; /** * Mark if this row should be selectable */ selection?: boolean; /** * Specify row id so that it can be used for initial selection */ id?: string; } export declare function StructuredListRow(props: StructuredListRowProps): import("react/jsx-runtime").JSX.Element; export declare namespace StructuredListRow { var propTypes: { /** * Provide the contents of your StructuredListRow */ children: PropTypes.Requireable; /** * Specify an optional className to be applied to the container node */ className: PropTypes.Requireable; /** * Specify whether your StructuredListRow should be used as a header row */ head: PropTypes.Requireable; /** * Specify whether a `