/**
 * Layer 2: Authentication Anti-Pattern Detection
 * Identifies weak or missing authentication/authorization patterns
 *
 * Key improvements:
 * - Respects global middleware protection (caps severity at info)
 * - Detects throwing auth helpers and suppresses redundant null checks
 * - Properly classifies public endpoints
 */
import type { Vulnerability } from '../../shared/types';
import type { ParsedFile } from '../../shared/parsed-file';
import type { MiddlewareAuthConfig } from '../../model/middleware-detector';
import type { AuthHelperContext } from '../../model/auth-helper-detector';
import type { FileAuthImports } from '../../model/imported-auth-detector';
export interface AuthAntipatternOptions {
    middlewareConfig?: MiddlewareAuthConfig;
    authHelpers?: AuthHelperContext;
    fileAuthImports?: Map<string, FileAuthImports>;
    parsed?: ParsedFile;
}
export declare function detectAuthAntipatterns(content: string, filePath: string, options?: AuthAntipatternOptions): Vulnerability[];
//# sourceMappingURL=auth-patterns.d.ts.map