import type { Issue } from '../../types/analysis.types'; /** * Extract a compact excerpt of the cdk synth stderr for a friendlier * error message. cdk's own errors are often multi-line with a stack * trace; the first non-empty line is usually the actionable reason. */ export declare const summariseSynthError: (error: unknown) => string; type ExtractInlineNagFindings = (output: string, options: Record) => Issue[]; type RunCdkSynthDependencies = { extractInlineNagFindings: ExtractInlineNagFindings; stackName?: string; }; export declare const runCdkSynth: ({ extractInlineNagFindings, stackName, }: RunCdkSynthDependencies) => Issue[]; export declare const runCdkSynthOnly: (stackName?: string) => boolean; export {};