import React from 'react';
import { RenderingContext, PreviewPreview, PreviewModule } from '@teambit/preview';
import { ComponentID } from '@teambit/component-id';
import type { Docs } from './docs';
export type DocsRootProps = {
    Provider: React.ComponentType | undefined;
    componentId: string;
    docs: Docs | undefined;
    compositions?: any;
    context: RenderingContext;
};
export declare class DocsPreview {
    /**
     * preview extension.
     */
    private preview;
    constructor(
    /**
     * preview extension.
     */
    preview: PreviewPreview);
    render: (componentId: ComponentID, envId: string, modules: PreviewModule, [compositionsFromParams]: [any], context: RenderingContext) => void;
    selectPreviewModel(componentId: string, modules: PreviewModule): import("@teambit/preview").ModuleFile<any> | undefined;
    static runtime: import("@teambit/harmony").RuntimeDefinition;
    static dependencies: import("@teambit/harmony").Aspect[];
    static provider([preview]: [PreviewPreview]): Promise<DocsPreview>;
}
