import { type SourceSpan } from "../../parse/parser.js";
export type Diagnostic = {
    code: "AS-ASYNC-NOT-NEEDED";
    severity: "info";
    message: string;
    filename: string;
    line: number;
    column: number;
    span: SourceSpan;
    fix: {
        range: readonly [number, number];
        replacement: string;
    };
};
export declare const AS_ASYNC_NOT_NEEDED_MESSAGE = "Async arrow functions without await should remove the async keyword.";
export declare function AS_ASYNC_NOT_NEEDED(source: string, options?: {
    filename?: string;
}): Diagnostic[];
export declare function fixASAsyncNotNeeded(source: string, options?: {
    filename?: string;
}): string;
