/** * Removes all null characters (`\0`) from a given path string. * * Null bytes are sometimes injected maliciously into paths to exploit * string termination behavior in lower-level systems. This function * ensures the path is safe for use by stripping them out. * * @param path - The path string to sanitize. * @returns The sanitized path without any null characters. * * @example * sanitizePath('docs\0/secret'); // "docs/secret" * sanitizePath('safe/path'); // "safe/path" */ export declare function sanitizePath(path: string): string; //# sourceMappingURL=sanitize-path.d.ts.map