/** * @import { Site, Source, SourceMap } from "../index.js" */ /** * Internal, so not placed in src/index.js * @typedef {{ * site: Site * incr(): void * decr(): void * readChar(): string * peekChar(): string * unreadChar(): void * }} SourceIndex */ /** * @param {{ * source: Source * sourceMap?: SourceMap * }} args * @returns {SourceIndex} */ export function makeSourceIndex(args: { source: Source; sourceMap?: SourceMap; }): SourceIndex; /** * Internal, so not placed in src/index.js */ export type SourceIndex = { site: Site; incr(): void; decr(): void; readChar(): string; peekChar(): string; unreadChar(): void; }; import type { Source } from "../index.js"; import type { SourceMap } from "../index.js"; import type { Site } from "../index.js"; //# sourceMappingURL=SourceIndex.d.ts.map