import type { PatchFunction } from '../../lint/internalLints/upgrade/index.js'; export declare const hasDirNameRegex: RegExp; export declare const hasDirNameVariableRegex: RegExp; export declare const hasFileNameRegex: RegExp; export declare const hasFileNameVariableRegex: RegExp; export declare const requireMainRegex: RegExp; export declare const tryRewriteGlobalVars: PatchFunction; export declare const rewriteGlobalVars: PatchFunction;