import { CardsProps, NonCancelableCustomEvent } from '@cloudscape-design/components'; import { Control, FieldPath, FieldPathValue, FieldValues, RegisterOptions } from 'react-hook-form'; type CardsItem> = FieldPathValue extends ReadonlyArray ? TItem : never; export interface CCardsProps = FieldPath, TItem = CardsItem> extends Omit, "trackBy">> & Required, "selectionType">> & CardsProps, "selectedItems" | "onSelectionChange"> { name: TName; control?: Control; shouldUnregister?: boolean; defaultValue?: FieldPathValue; rules?: Omit, "valueAsNumber" | "valueAsDate" | "setValueAs" | "disabled">; onSelectionChange?: (event: NonCancelableCustomEvent>) => void; } export declare const CCards: = FieldPath, TItem = CardsItem>({ name, control, defaultValue, rules, shouldUnregister, onSelectionChange, ...props }: CCardsProps) => import('react').JSX.Element; export default CCards;