import type { PkgMain } from '@teambit/pkg'; import type { Component } from '@teambit/component'; import type { CompilerMain } from '@teambit/compiler'; import type { Workspace } from '@teambit/workspace'; import { Doc } from '@teambit/docs.entities.doc'; import type { DocReader } from './doc-reader'; export declare class DefaultDocReader implements DocReader { private pkg; private compiler; private workspace; constructor(pkg: PkgMain, compiler: CompilerMain, workspace: Workspace); read(path: string, contents: Buffer, component: Component): Promise; readonly supportedExtensions: string[]; isFormatSupported(format: string): boolean; }