import type { Harmony } from '@teambit/harmony';
import type { CompilerMain } from '@teambit/compiler';
import type { DependencyResolverMain } from '@teambit/dependency-resolver';
import type { DocsMain } from '@teambit/docs';
import type { LoggerMain } from '@teambit/logger';
import type { WorkerMain } from '@teambit/worker';
import type { EnvsMain } from '@teambit/envs';
import type { MultiCompilerMain } from '@teambit/multi-compiler';
import type { ReactMain } from '@teambit/react';
import type { GeneratorMain } from '@teambit/generator';
import type { MDXCompilerOpts } from './mdx.compiler';
import { MdxEnv } from './mdx.env';
export type MDXConfig = {
    /**
     * list of file extensions to consider as MDX files.
     */
    extensions: string[];
};
export declare class MDXMain {
    icon(): string;
    /**
     * create an instance of the MDX compiler.
     */
    createCompiler(opts?: MDXCompilerOpts): import("./mdx.compiler").MDXCompiler;
    _mdxEnv: MdxEnv;
    get mdxEnv(): MdxEnv;
    private set mdxEnv(value);
    static runtime: import("@teambit/harmony").RuntimeDefinition;
    static dependencies: import("@teambit/harmony").Aspect[];
    static defaultConfig: {
        extensions: string[];
    };
    static provider([docs, depResolver, react, envs, multiCompiler, compiler, generator, loggerAspect, workerMain]: [
        DocsMain,
        DependencyResolverMain,
        ReactMain,
        EnvsMain,
        MultiCompilerMain,
        CompilerMain,
        GeneratorMain,
        LoggerMain,
        WorkerMain
    ], config: MDXConfig, slots: any, harmony: Harmony): Promise<MDXMain>;
}
