import * as ts from 'typescript'; import type { CheckViolation } from '@opensip-cli/fitness'; export declare const MAX_LINE_GAP = 1; export interface AwaitInfo { line: number; column: number; assignedVariable: string | null; destructuredBindings: readonly string[]; expressionText: string; isDynamicImport: boolean; branchKey: string | null; node: ts.AwaitExpression; } export declare function collectAwaitExpressions(node: ts.Node, sourceFile: ts.SourceFile): AwaitInfo[]; export declare function detectWaterfalls(awaitInfos: AwaitInfo[]): CheckViolation[]; export declare function analyzeFile(absolutePath: string, content: string): CheckViolation[]; //# sourceMappingURL=async-waterfall-analysis.d.ts.map