import { type TaskInfo } from '../../../infra/task/index.js';
import type { WorkflowResumePoint } from '../../../core/models/index.js';
import { type Issue } from '../../../infra/git/index.js';
export interface ResolvedTaskExecution {
    execCwd: string;
    workflowIdentifier: string;
    isWorktree: boolean;
    reportDirName: string;
    taskPrompt?: string;
    orderContent?: string;
    branch?: string;
    worktreePath?: string;
    baseBranch?: string;
    startStep?: string;
    retryNote?: string;
    resumePoint?: WorkflowResumePoint;
    autoPr: boolean;
    draftPr: boolean;
    managedPr: boolean;
    shouldPublishBranchToOrigin: boolean;
    issueNumber?: number;
    maxStepsOverride?: number;
    initialIterationOverride?: number;
}
export declare function resolveTaskIssue(issueNumber: number | undefined, projectCwd: string): Issue[] | undefined;
export declare function resolveTaskExecution(task: TaskInfo, defaultCwd: string, abortSignal?: AbortSignal): Promise<ResolvedTaskExecution>;
//# sourceMappingURL=resolveTask.d.ts.map