import { JSX, FictNode } from '@fictjs/runtime'; import { PossibleRef } from '@fictjs/compose-refs'; type SlotRef = PossibleRef; type SlotProps = JSX.IntrinsicElements['div'] & { children?: FictNode | FictNode[]; }; interface SlottableProps { children?: FictNode | FictNode[]; } interface SlottableComponent { (props: SlottableProps): FictNode; __fictSlotId: symbol; displayName?: string; } declare function createSlot(ownerName: string): { (props: SlotProps & { ref?: SlotRef; }): FictNode; displayName: string; }; declare function createSlottable(ownerName: string): SlottableComponent; declare const Slot: { (props: SlotProps & { ref?: SlotRef; }): FictNode; displayName: string; }; declare const Slottable: SlottableComponent; declare const Root: { (props: SlotProps & { ref?: SlotRef; }): FictNode; displayName: string; }; export { Root, Slot, type SlotProps, Slottable, createSlot, createSlottable };