import { type SourceSpan } from "../../parse/parser.js";
export type Diagnostic = {
    code: "AS-UNBOUNDED-LOOP";
    severity: "warning";
    message: string;
    filename: string;
    line: number;
    column: number;
    span: SourceSpan;
};
export declare function AS_UNBOUNDED_LOOP(source: string, options?: {
    filename?: string;
}): Diagnostic[];
