import { type InvestigateOptions } from './investigate-ecs-service';
import type { AdditionalDiagnosticContext } from '../../actions/diagnose';
import type { SDK } from '../aws-auth/sdk';
import type { ResourceError } from '../stack-events/resource-errors';
export type { InvestigateOptions };
/**
 * Investigate a failed resource using AWS service APIs to gather additional root cause context.
 *
 * Returns additional diagnostic context (e.g. log lines) or an empty array if
 * investigation is not possible or yields no results for this resource type.
 */
export declare function investigateResource(err: ResourceError, sdk: SDK, debug: (msg: string) => Promise<void>, options?: InvestigateOptions): Promise<AdditionalDiagnosticContext[]>;
//# sourceMappingURL=resource-investigation.d.ts.map