import { Effect } from "effect"; import type { Frontmatter, ParameterDefinition } from "./types.js"; import { InvalidMdxFormatError } from "./errors.js"; export interface MdxServiceApi { readonly readMdxAndFrontmatter: (filePath: string) => Effect.Effect<{ readonly content: string; readonly frontmatter: Frontmatter; readonly mdxBody: string; }, InvalidMdxFormatError>; readonly updateMdxContent: (originalFullMdxContent: string, updatedFrontmatter: Frontmatter) => string; readonly parseMdxFile: (content: string) => Effect.Effect<{ readonly attributes: Record; readonly body: string; }, InvalidMdxFormatError>; readonly validateMdxConfig: (attributes: Record) => { readonly provider?: string; readonly model?: string; readonly parameters?: Record; }; readonly extractParameters: (metadata: Record) => Record; } //# sourceMappingURL=api.d.ts.map