/** * @packageDocumentation * * Resolve formatter exports from dynamic modules. */ import type { Formatter } from './types.js'; /** * Extract a formatter export from a dynamically imported module. * * @param mod - Candidate module object. * @returns The formatter function if found. * * @example * ```ts * const mod = { default: () => '' }; * const formatter = resolveFormatter(mod); * formatter?.([], true); * ``` */ export declare function resolveFormatter(mod: unknown): Formatter | undefined; //# sourceMappingURL=resolve-formatter.d.ts.map