import type { Formatter, FormatterPathType } from './formatter.js'; import type { BabelCodeFrameOptions } from './types/babel__code-frame.js'; type FormatterType = 'basic' | 'codeframe'; type BasicFormatterOptions = { type: 'basic'; pathType?: FormatterPathType; }; type CodeframeFormatterOptions = { type: 'codeframe'; pathType?: FormatterPathType; options?: BabelCodeFrameOptions; }; type FormatterOptions = undefined | FormatterType | BasicFormatterOptions | CodeframeFormatterOptions | Formatter; export type { FormatterOptions, FormatterType, BasicFormatterOptions, CodeframeFormatterOptions };