import type { AxiosInstance } from 'axios'; import type { RootCauseAnalysis } from './error-groups.js'; export interface TriggerRcaResponse { id: string; } declare class Rca { api: AxiosInstance; constructor(api: AxiosInstance); trigger(errorGroupId: string, userContext?: string): Promise>; triggerTestSessionErrorGroup(testSessionErrorGroupId: string, userContext?: string): Promise>; get(id: string): Promise>; pollUntilComplete(id: string): Promise; } export default Rca;