import { type TSESLint, type TSESTree } from "@typescript-eslint/utils"; /** * Create a fixer that inserts an import declaration in a safe location: after * existing imports, after directive prologue, before first statement, or at * file end for empty programs. * * @param options - Fix-planning options. * * - `fixer`: Rule fixer from ESLint. * - `referenceNode`: Node used to discover the enclosing Program. * - `importDeclarationText`: Full import declaration text to insert. * - `moduleSpecifierHint`: Optional known module specifier that skips import-text * parsing when provided. * * @returns Rule fix when insertion is possible; otherwise `null`. */ export declare const createImportInsertionFix: (options: Readonly<{ fixer: TSESLint.RuleFixer; importDeclarationText: string; moduleSpecifierHint?: string; referenceNode: Readonly; }>) => null | TSESLint.RuleFix; //# sourceMappingURL=import-insertion.d.ts.map