/**
 * General Helper Utilities
 *
 * Small utility functions used across the dangerous functions detection module.
 */
/**
 * Get a specific line from content by line number (0-indexed)
 */
export declare function getLineContent(content: string, lineNumber: number): string;
/**
 * Get a range of lines from content
 */
export declare function getLineRange(content: string, startLine: number, endLine: number): string;
/**
 * Check if eval/exec/Function has only static literal inputs (no user data)
 * Static inputs like eval('({ mode: "production" })') are low risk
 *
 * Returns true ONLY if the argument is a string literal (not a variable)
 */
export declare function hasOnlyStaticInputs(lineContent: string, content: string, lineNumber: number): boolean;
/**
 * Check if path traversal protection is in place
 * Looks for common sanitization patterns that prevent directory traversal attacks
 */
export declare function hasPathTraversalProtection(context: string, lineContent: string): boolean;
/**
 * Check if route has throwing auth helper (getCurrentUserId, requireAuth, etc.)
 * Routes with throwing auth helpers are already protected
 */
export declare function hasThrowingAuthHelper(content: string): boolean;
//# sourceMappingURL=helpers.d.ts.map