import React from 'react'; import { ActionList as PrimerActionList, type ActionListProps as PrimerActionListProps, type ActionListItemProps as PrimerActionListItemProps, type ActionListLinkItemProps as PrimerActionListLinkItemProps, type ActionListGroupProps as PrimerActionListGroupProps, type ActionListDividerProps as PrimerActionListDividerProps, type ActionListLeadingVisualProps as PrimerActionListLeadingVisualProps, type ActionListTrailingVisualProps as PrimerActionListTrailingVisualProps, type SlotMarker } from '@primer/react'; import { type SxProp } from '../sx'; import type { ForwardRefComponent } from '../polymorphic'; type PrimerActionListTrailingActionProps = React.ComponentProps; export type ActionListProps = PrimerActionListProps & SxProp; export type ActionListItemProps = React.PropsWithChildren; export type ActionListLinkItemProps = React.PropsWithChildren & { as?: React.ElementType; }; export type ActionListGroupProps = React.PropsWithChildren & { as?: React.ElementType; }; export type ActionListDividerProps = React.PropsWithChildren; export type ActionListLeadingVisualProps = React.PropsWithChildren & { as?: React.ElementType; }; export type ActionListTrailingVisualProps = React.PropsWithChildren & { as?: React.ElementType; }; export type ActionListTrailingActionProps = React.PropsWithChildren; declare const ActionListImpl: React.ForwardRefExoticComponent>, "ref"> & React.RefAttributes>; declare const ActionListLinkItem: ForwardRefComponent<"a", ActionListLinkItemProps> & SlotMarker; type TrailingActionElements = 'button' | 'a'; declare const ActionListTrailingAction: ForwardRefComponent & SlotMarker; declare const ActionListItem: ForwardRefComponent<"li", ActionListItemProps> & SlotMarker; declare const ActionListGroup: React.ComponentType & SlotMarker; declare const ActionListDivider: React.ComponentType & SlotMarker; declare const ActionListLeadingVisual: React.ComponentType & SlotMarker; declare const ActionListTrailingVisual: React.ComponentType & SlotMarker; export declare const ActionList: typeof ActionListImpl & { Item: typeof ActionListItem; LinkItem: typeof ActionListLinkItem; Group: typeof ActionListGroup; GroupHeading: typeof PrimerActionList.GroupHeading; Divider: typeof ActionListDivider; Description: typeof PrimerActionList.Description; LeadingVisual: typeof ActionListLeadingVisual; TrailingVisual: typeof ActionListTrailingVisual; Heading: typeof PrimerActionList.Heading; TrailingAction: typeof ActionListTrailingAction; } & SlotMarker; export {}; //# sourceMappingURL=ActionList.d.ts.map