/** * Fixtures for components with ITERABLE-typed props — the react-aria collection * shape (`disabledKeys?: Iterable`, `selectedKeys?: Selection`). These carry * the `Object` flag plus a `[Symbol.iterator]` member but no numeric index, so * without a dedicated iterable branch the analyzer emitted them as objects with a * spurious `__@iterator` property (rendered in Knapsack as "should be object"). * They should resolve to ARRAY fields of their element type instead. */ type Key = string | number; /** Mirrors react-stately's `Selection = 'all' | Set`. */ type Selection = 'all' | Set; export declare function CollectionComponent(props: { /** react-aria's `disabledKeys?: Iterable`. */ disabledKeys?: Iterable; /** A plain `Set`. */ tags?: Set; /** `ReadonlySet`. */ ids?: ReadonlySet; /** react-stately `Selection` (`'all' | Set`). */ selectedKeys?: Selection; }): { /** react-aria's `disabledKeys?: Iterable`. */ disabledKeys?: Iterable; /** A plain `Set`. */ tags?: Set; /** `ReadonlySet`. */ ids?: ReadonlySet; /** react-stately `Selection` (`'all' | Set`). */ selectedKeys?: Selection; }; export {}; //# sourceMappingURL=iterable-props.d.ts.map