import { FC, ComponentType as CT } from 'react'; import { Entry } from '../state'; export interface PlaygroundProps { className?: string; style?: any; wrapper?: CT; components: ComponentsMap; component: JSX.Element; position: number; code: string; scope: Record; language?: string; showLivePreview?: boolean; useScoping?: boolean; } export interface LayoutProps { doc: Entry; [key: string]: any; } export interface ComponentsMap { notFound?: CT; layout?: CT; playground?: CT; [key: string]: any; } export interface ComponentsProviderProps { components: ComponentsMap; } export declare const ComponentsProvider: FC; export declare const useComponents: () => ComponentsMap;