/** Conservative role assigned to a variable before distributing a parallel loop. */ export type ParforVariableKind = 'loop' | 'broadcast' | 'sliced' | 'reduction' | 'temporary' | 'unsupported'; /** Proven single-assignment loop plan with iteration values, broadcasts and output combination policy. */ export type ParforPlan = { readonly source: string; readonly loopVariable: string; readonly values: readonly number[]; readonly expression: string; readonly broadcasts: readonly string[]; readonly classifications: Readonly>; readonly output: { readonly kind: 'sliced'; readonly name: string; } | { readonly kind: 'reduction'; readonly name: string; readonly operator: '+=' | '*='; }; }; /** Either an eligible execution plan or an explicit reason for sequential fallback or rejection. */ export type ParforAnalysis = { readonly eligible: true; readonly plan: ParforPlan; } | { readonly eligible: false; readonly reason: string; }; /** Conservative analyzer for the first deterministic parallel subset. */ export declare class ParforAnalyzer { static analyze(source: string): ParforAnalysis; }