import { type SourceSpan } from "../../parse/parser.js"; export type Diagnostic = { code: "AS-NEEDLESS-TEMPLATE"; severity: "info"; message: string; filename: string; line: number; column: number; span: SourceSpan; fix: { range: readonly [number, number]; replacement: string; }; hint: string; }; export declare const AS_NEEDLESS_TEMPLATE_MESSAGE = "Template literals with only one interpolation should use the value or String(value)."; export declare function AS_NEEDLESS_TEMPLATE(source: string, options?: { filename?: string; }): Diagnostic[]; export declare function fixASNeedlessTemplate(source: string, options?: { filename?: string; }): string;