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