UNPKG

@mintlify/common

Version:

Commonly shared code within Mintlify

12 lines (11 loc) 444 B
import type { Root } from 'mdast'; import type { FileType, FileWithImports } from '../../types/mdx/index.js'; export type ResolveImportsWarning = { type: 'invalid-import-path' | 'missing-file' | 'import-resolution-error'; message: string; }; export declare const resolveAllImports: (params: { snippets: FileType[]; fileWithImports: FileWithImports; onWarning?: (warning: ResolveImportsWarning) => void; }) => Promise<Root>;