import type { PatchFunction } from '../../lint/internalLints/upgrade/index.js'; export declare const hasDirNameRegex: RegExp; export declare const hasFileNameRegex: RegExp; export declare const addTypeModule: (originalContent: string) => Promise; export declare const tryAddTypeModuleToPackageJson: PatchFunction; export declare const addTypeModuleToPackageJson: PatchFunction;