import React from "react"; /** * Shared slot mechanism for compound components: tag a part with a slot name, * then detect that name on a child element. Components own their own child * parsing — the mechanism is shared, the placement policy is not. */ export type SlotComponent = React.FC & Record; export declare function createSlotSystem(markerKey: MarkerKey): { assignSlot: (component: React.FC, slot: Slot) => SlotComponent; createSlot: (slot: Slot) => SlotComponent; isSlotElement: (child: React.ReactNode) => child is React.ReactElement>; };