import { type SourceSpan } from "../../parse/parser.js"; type DiagnosticCode = "AS-EXPORT-DEFAULT-MISSING" | "AS-EXPORT-DEFAULT-MULTIPLE" | "AS-EXPORT-DEFAULT-NOT-ARROW" | "AS-EXPORT-DEFAULT-SIGNATURE" | "AS-EXPORT-UNKNOWN" | "AS-IMPORT-META-ASSIGN" | "AS-RETURN-AT-TOP"; export type Diagnostic = { code: DiagnosticCode; severity: "error" | "warning"; message: string; filename: string; line: number; column: number; span: SourceSpan; }; export type DefaultExportSignature = { parameters?: readonly string[]; required?: boolean; }; export declare function AS_EXPORT_IMPORT_META(source: string, options?: { allowedExportNames?: readonly string[]; defaultExport?: DefaultExportSignature; filename?: string; }): Diagnostic[]; export {};