/**
 * Shared Routes — Path safety helpers
 *
 * Prevents directory traversal by resolving real paths and checking
 * containment within allowed roots before any file I/O.
 */
import { getCcsDir } from '../config/config-loader-facade';
import type { SharedCollectionType } from './shared-routes-types';
export declare function safeRealPath(targetPath: string): string | null;
export declare function normalizeForPathComparison(targetPath: string): string;
export declare function isPathWithin(candidatePath: string, basePath: string): boolean;
export declare function isPathWithinAny(candidatePath: string, basePaths: Set<string>): boolean;
export declare function resolveAllowedRoots(type: SharedCollectionType, ccsDir: string, sharedDirRoot: string): Set<string>;
export declare function resolveSettingsAllowedRoots(ccsDir: string, sharedDirRoot: string): Set<string>;
export { getCcsDir };
//# sourceMappingURL=shared-routes-path-guards.d.ts.map