import { type SourceSpan } from "../../parse/parser.js"; export type Diagnostic = { code: "AS-UNUSED-IMPORT"; severity: "warning"; message: string; filename: string; line: number; column: number; span: SourceSpan; fix: { range: readonly [number, number]; replacement: string; }; }; export declare function AS_UNUSED_IMPORT(source: string, options?: { filename?: string; }): Diagnostic[]; export declare function fixASUnusedImports(source: string, options?: { filename?: string; }): string;