import type { Rule } from 'eslint'; import { type ImportDeclaration } from 'eslint-codemod-utils'; import { type ImportSource } from './is-supported-import'; type RuleContext = Rule.RuleContext; /** * Get the first import declaration in the file that matches any of the packages * in `importSources`. * * @param context Rule context. * @param importSources The packages to check import statements for. If importSources * contains more than one package, the first import statement * detected in the file that matches any of the packages will be * returned. * @returns The first import declaration found in the file. */ export declare const getFirstSupportedImport: (context: RuleContext, importSources: ImportSource[]) => ImportDeclaration | undefined; export {};