/** * @import { Token } from "../index.js" */ /** * Used for accurate formatting * @typedef {{ * finalize(): string * write(s: string): void * writeToken(token: Token): void * }} SourceWriter */ /** * @param {{line?: number, column?: number}} args * @returns {SourceWriter} */ export function makeSourceWriter(args?: { line?: number; column?: number; }): SourceWriter; /** * Used for accurate formatting */ export type SourceWriter = { finalize(): string; write(s: string): void; writeToken(token: Token): void; }; import type { Token } from "../index.js"; //# sourceMappingURL=SourceWriter.d.ts.map