import { ComponentProps, ElementType, ReactElement, ReactNode } from 'react'; export type SlotsDict = Record; export type Slots = { [key in keyof M]: ReactElement, M[key]> | undefined; }; /** * Распределяет дочерние элементы по слотам. * @param children Дочерние элементы. * @param dict Словарь типов элементов. * @return Дочерние элементы разбитые по слотам. */ export declare function defineSlots(children: ReactNode, dict: T): Slots;