// Type definitions for ui/Slottable type Omit = Pick>; type Merge = Omit> & N; export interface SlottableConfig extends Object { /** * Array of slot names which will be extracted from `children` and distributed to props. */ slots?: string[]; } export interface SlottableProps {} export function Slottable

( config: SlottableConfig, Component: React.ComponentType

| string, ): React.ComponentType

; export function Slottable

( Component: React.ComponentType

| string, ): React.ComponentType

; export default Slottable;