/** * Verifies that a resolved file path stays within the given base directory. * Prevents both `../` traversal and symlink-based escapes. * Throws if the path would escape the base directory. * * @param baseDir - The trusted root directory that paths must stay within. * @param untrustedPath - The user-supplied relative path to validate. * @throws {Error} With name `ValidationFailed` if the path escapes the base directory. */ export declare function assertContainedPath(baseDir: string, untrustedPath: string): void; //# sourceMappingURL=mock-utils.d.ts.map