import type { Issue } from '../types/type-issue.js'; type Formatter = (issue: Issue) => string; /** * Creates a formatter that displays code frames for issues. * * This formatter enhances the basic formatter by adding a code frame * that highlights the relevant code section where the issue occurs. * It reads the source file, generates a formatted code frame using * the issue's location information, and combines it with the basic * issue message. * * @returns A formatter function that takes an issue and returns a formatted string * with code frame highlighting if the source file exists and location is provided. */ export declare const createCodeFrameFormatter: () => Formatter; export {};