import { SourceLoc } from "./ast"; declare class Warning { message: string; offset?: number; sourceLoc?: SourceLoc; constructor(message: string, pos?: number | SourceLoc); render(): string; } interface Options { warn?: (warning: Warning) => void; } export type { SourceLoc, Options, }; export { Warning, };