import * as React from 'react'; declare const SlotSymbol = "__slot__"; type SlotProps = { [SlotSymbol]: { name: string; container: boolean; }; }; type SlottedComponent = React.FunctionComponent & SlotProps; export declare function createSlot(name: string): SlottedComponent; export declare function isSlotComponent(component: T): component is T & { type: SlotProps; }; export declare function getSlots>>(children: React.ReactNode, slotMap: T): Partial> & { children: React.ReactNode[] | null; }; export {};