import type { PluginInput } from "@opencode-ai/plugin"; export interface SisyphusTaskErrorPattern { pattern: string; errorType: string; fixHint: string; } export declare const SISYPHUS_TASK_ERROR_PATTERNS: SisyphusTaskErrorPattern[]; export interface DetectedError { errorType: string; originalOutput: string; } export declare function detectSisyphusTaskError(output: string): DetectedError | null; export declare function buildRetryGuidance(errorInfo: DetectedError): string; export declare function createSisyphusTaskRetryHook(_ctx: PluginInput): { "tool.execute.after": (input: { tool: string; sessionID: string; callID: string; }, output: { title: string; output: string; metadata: unknown; }) => Promise; };