//#region src/utils/pathSecurity.d.ts
/**
 * Throws if `resolvedPath` escapes `baseDir`.
 * Use this before any file operation whose path is derived from user-controlled
 * input (e.g. dictionary keys, filePath fields from dictionary data) to prevent
 * path-traversal attacks.
 */
declare const assertPathWithin: (resolvedPath: string, baseDir: string) => void;
//#endregion
export { assertPathWithin };
//# sourceMappingURL=pathSecurity.d.ts.map