import * as React from 'react'; /** * This variables should be used in a List to create a scope * that will not inherit variables from the upper scope. * * Used in `Menu`, `MenuList`, `TabList`, `Select` to communicate with nested List. * * e.g. menu group: * * ... * ... * */ declare const scopedVariables: { "--NestedList-marginRight": string; "--NestedList-marginLeft": string; "--NestedList-item-paddingLeft": string; "--List-itemButton-marginBlock": string; "--List-itemButton-marginInline": string; "--List-item-marginBlock": string; "--List-item-marginInline": string; }; interface ListProviderProps { /** * If `undefined`, there is no effect. * If `true` or `false`, affects the nested List styles. */ nested?: boolean; /** * If `true`, display the list in horizontal direction. * @default false */ row?: boolean; /** * Only for horizontal list. * If `true`, the list sets the flex-wrap to "wrap" and adjust margin to have gap-like behavior (will move to `gap` in the future). * * @default false */ wrap?: boolean; } declare const ListProvider: ({ children, nested, row, wrap, }: React.PropsWithChildren) => JSX.Element; export { ListProviderProps, ListProvider as default, scopedVariables };