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