//#region src/server/snapshot_path_limits.d.ts /** * Returns {@link rawSnapshotSubpath} or a tersified final segment when `shortenLongSnapshotPaths` is on and * `snapshotBaselineRootAbs` + subpath + a minimal `0.png` would exceed {@link legacySnapshotPathExceedsLimit}, * or a subpath segment exceeds NTFS length. Long snapshot **filenames** (`taskId-key.png`) are shortened * separately via {@link resolveLegacySnapshotFileRelativePath}. Baseline, result, and diff trees share the * same resolved subpath via {@link getTaskSubpath}. */ declare function resolveSnapshotSubpathWithinLimits(params: { snapshotBaselineRootAbs: string; rawSnapshotSubpath: string; shortenLongSnapshotPaths: boolean; }): string; /** * When `shortenLongSnapshotPaths` is on and the legacy `{@link getLegacySnapshotFilename}` path exceeds * {@link legacySnapshotPathExceedsLimit}, rewrites only the final path segment (after the last `/`) like * {@link formatCondensedSnapshotSubpath}, so nested `taskId` directories stay intact and `…-*.png` globs keep working. */ declare function resolveLegacySnapshotFileRelativePath(params: { projectRoot: string; baselineDir: string; legacySnapshotFilename: string; shortenLongSnapshotPaths: boolean; }): string; //#endregion export { resolveLegacySnapshotFileRelativePath, resolveSnapshotSubpathWithinLimits }; //# sourceMappingURL=snapshot_path_limits.d.mts.map