import type { SourceSpan } from "../../parse/parser.js";
import { type Modules } from "./module-registry.js";
export type Diagnostic = {
    code: "AS004";
    severity: "error";
    message: string;
    filename: string;
    line: number;
    column: number;
    span: SourceSpan;
};
export declare function AS004(source: string, options?: {
    filename?: string;
    modules?: Modules;
}): Diagnostic[];
