/** Drops comments so a commented-out URL or pin never counts as live evidence. */ export declare function stripComments(text: string, style: { slash: boolean; hash: boolean; }): string; export declare function isXcodePinFile(name: string, relative: string): boolean; /** Xcode Cloud custom build scripts; their presence means the workflow (and Xcode) is set in App Store Connect. */ export declare function isXcodeCloudScript(relative: string): boolean; export declare function unique(values: string[]): string[]; export declare function escapeRegExp(value: string): string; /** The Gradle module directory a file belongs to (`app-wearos/src/main/AndroidManifest.xml` -> `app-wearos`). */ export declare function moduleDir(relative: string): string; /** * The `{` blocks enclosing `index` in string-masked code (outermost first): each with the word before its brace and * the statement head that opens it (`project('…').afterEvaluate`, `def configure()`). */ export declare function enclosingBlocks(masked: string, index: number): Array<{ open: number; opener: string; head: string; }>; /** End of the expression starting at `from` in masked code: a line break, `;`, or unmatched closer outside brackets. */ export declare function statementEnd(masked: string, from: number): number; export declare function isWithin(scope: string, target: string): boolean; /** The package folder a node_modules/ path belongs to (`…/node_modules/@scope/name`). */ export declare function packageDir(file: string): string | undefined;