/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import React, { ComponentPropsWithoutRef } from 'react'; import { Slot } from './Slot'; type SlotProps = ComponentPropsWithoutRef; type CollectionProps = SlotProps; declare function createCollection(name: string): readonly [{ readonly Provider: React.FC<{ children?: React.ReactNode; }>; readonly Slot: React.ForwardRefExoticComponent, "ref"> & React.RefAttributes>; readonly ItemSlot: React.ForwardRefExoticComponent & React.RefAttributes>; }, () => () => ({ ref: React.RefObject; } & ItemData)[]]; export { createCollection }; export type { CollectionProps }; //# sourceMappingURL=Collections.d.ts.map