import { type SourceSpan } from "../../parse/parser.js"; export type Diagnostic = { code: "AS-MISSING-ASYNC"; severity: "error"; message: string; filename: string; line: number; column: number; span: SourceSpan; fix: { range: readonly [number, number]; replacement: string; }; }; export declare const AS_MISSING_ASYNC_MESSAGE = "Arrow functions that contain await must be marked async."; export declare function AS_MISSING_ASYNC(source: string, options?: { filename?: string; }): Diagnostic[]; export declare function fixASMissingAsync(source: string, options?: { filename?: string; }): string;