/** * Escapes HTML-reserved characters to their entity equivalents. * * @param input - The string to escape. * @returns The escaped string with HTML-sensitive characters replaced. * * Special behavior: Escapes `&`, `<`, `>`, `"`, and `'` characters; does not decode entities. */ export declare function escapeHTML(input: string): string; /** * Escapes SQL-sensitive characters by prefixing them with a backslash. * * @param input - The string to escape. * @returns The escaped string with `'`, `"`, `;`, and `\` prefixed by `\`. * * Special behavior: Simple escaping helper; it does not validate SQL or prevent all injection cases. */ export declare function escapeSQL(input: string): string; /** * Sanitizes a path-like string by removing traversal and dot segments. * * @param input - The path string to sanitize. * @returns The sanitized path with `.` and `..` segments removed. * * Special behavior: Preserves a leading separator and normalizes repeated separators. */ export declare function sanitizePath(input: string): string; //# sourceMappingURL=security.d.ts.map