/** Returns `true` when `filePath` resolves inside `allowedDir` (prevents path traversal, incl. via symlinks). */ export declare function isPathSafe(filePath: string, allowedDir: string): boolean; /** Returns the resolved absolute path if safe, or `null` for traversal attempts. */ export declare function getSafeFilePath(filePath: string, allowedDir: string): string | null; //# sourceMappingURL=security.d.ts.map