/**
 * AST readers for Next.js Server Actions security audit (T2).
 *
 * Each reader is a focused, pure function that extracts a specific signal
 * from a parsed tree-sitter Tree. The orchestrator in `nextjs-security-tools.ts`
 * composes them into a per-action audit.
 */
import type Parser from "web-tree-sitter";
import type { AuthGuardInfo, InputValidationInfo, RateLimitingInfo } from "./nextjs-security-tools.js";
export interface ServerActionFn {
    name: string;
    file: string;
    line: number;
    isAsync: boolean;
    bodyNode: Parser.SyntaxNode | null;
    fnNode: Parser.SyntaxNode;
}
export declare function extractServerActionFunctions(tree: Parser.Tree, _source: string, file: string): ServerActionFn[];
export declare function detectAuthGuard(fn: ServerActionFn): AuthGuardInfo;
export declare function detectInputValidation(fn: ServerActionFn, tree: Parser.Tree, source: string): InputValidationInfo;
export declare function detectRateLimiting(fn: ServerActionFn, _tree: Parser.Tree, _source: string): RateLimitingInfo;
//# sourceMappingURL=nextjs-security-readers.d.ts.map