import { PluggableList } from 'unified'; import { Settings, Sidebar, MetadataMap } from '@xyd-js/core'; import { HighlightedCode } from 'codehike/code'; type VarCode = [ [ string, ...(HighlightedCode)[] ] | HighlightedCode ]; declare class ContentFS { private readonly settings; private readonly remarkPlugins; private readonly rehypePlugins; private readonly recmaPlugins; private readonly remarkRehypeHandlers?; constructor(settings: Settings, remarkPlugins: PluggableList, rehypePlugins: PluggableList, recmaPlugins: PluggableList, remarkRehypeHandlers?: any); compile(filePath: string): Promise; compileContent(content: string, filePath?: string): Promise; compileContentV2(content: string, filePath?: string): Promise; readRaw(filePath: string): Promise; } declare function pageFrontMatters(navigation: Sidebar[], pagePathMapping: { [key: string]: string; }): Promise; export { ContentFS, type VarCode, pageFrontMatters };