/** * TypeScript/JavaScript AST Transforms * * Uses ts-morph for AST manipulation to fix security vulnerabilities. * * @module autofix/ast/typescript */ import type { ASTTransformResult, ASTTransformContext } from "./types.js"; export declare function transformSQLInjection(context: ASTTransformContext): Promise; export declare function transformXSS(context: ASTTransformContext): Promise; export declare function transformHardcodedSecrets(context: ASTTransformContext): Promise; export declare function transformIDOR(context: ASTTransformContext): Promise; export declare const AST_TRANSFORMS: Record Promise>; export declare function applyASTTransform(category: string, context: ASTTransformContext): Promise; export declare function hasASTTransform(category: string): boolean; export declare function listASTTransforms(): string[]; //# sourceMappingURL=typescript.d.ts.map