import { Tree } from '@angular-devkit/schematics'; /** * Auto-detects the eUI version from the installed @eui/core package. * Reads node_modules/@eui/core/package.json and extracts the major version. * Returns format like "21.x" */ export declare function detectEuiVersion(tree: Tree): string | null; /** * Finds the position where the import block ends. * Looks for @Component, @NgModule, first non-export const, or first export statement. * Ported from csdr-engine/migrate/index.js getEndImportBlockPos. */ export declare function getEndImportBlockPos(lines: string[]): number; /** * Collects all file paths matching given extensions under a directory in the Tree. */ export declare function getFilesFromTree(tree: Tree, dirPath: string, extensions: string[]): string[]; /** * Gets sibling HTML files for a given TS file path from the Tree. */ export declare function getSiblingHtmlFiles(tree: Tree, tsFilePath: string): string[];