import type { InputEnvelope, OutputEnvelope, StepDefinition, StepExecutionHooks, WorkflowDefinition } from "./types.js";
export declare function normalizeTimeout(value: unknown, fallbackMs?: number): number;
export declare function shouldUseRealClaudeCode(step: StepDefinition): boolean;
export interface ClaudeStreamActivity {
    activity?: string;
    assistantText?: string;
    resultText?: string;
}
export declare function claudeStreamActivity(line: string): ClaudeStreamActivity | null;
export declare function executeClaudeCodeStep(step: StepDefinition, input: InputEnvelope, attempt: number, workflow?: WorkflowDefinition, workflowFilePath?: string, hooks?: StepExecutionHooks): Promise<OutputEnvelope>;
