interface PathComparisonOptions { caseInsensitive?: boolean; } /** * Whether `candidate` resolves to something strictly inside `parent`. * * `resolve` restarts at an absolute segment, so `resolve(target, "/etc/hosts")` * is `/etc/hosts` -- joining an untrusted path onto a trusted root proves * nothing about where it lands. Callers that turn user-supplied strings into * filesystem operands have to check the result, not the input. */ export declare const isInsideDirectory: (parent: string, candidate: string) => boolean; export declare const equalResolvedPaths: (left: string, right: string, options?: PathComparisonOptions) => boolean; export {}; //# sourceMappingURL=path-comparison.d.ts.map