import type { Issue } from '../../infra/git/index.js'; import { type PipelineExecutionOptions } from '../tasks/index.js'; import type { PipelineConfig } from '../../core/models/index.js'; import { type PullRequestContext } from '../../core/workflow/pr-context.js'; import type { LoopAnalysisPublicationCoordinator } from '../tasks/execute/loopAnalysisPublication.js'; export interface TaskContent { task: string; issue?: Issue; prBranch?: string; prBaseBranch?: string; } export interface GitExecutionContext { execCwd: string; isWorktree: boolean; branch: string; baseBranch: string; taskSlug?: string; prContext?: PullRequestContext; } export interface SkipGitExecutionContext { execCwd: string; isWorktree: false; branch?: string; baseBranch?: string; prContext?: PullRequestContext; } export type ExecutionContext = GitExecutionContext | SkipGitExecutionContext; export declare function buildCommitMessage(pipelineConfig: PipelineConfig | undefined, issue: Issue | undefined, taskText: string | undefined): string; export declare function resolveTaskContent(options: PipelineExecutionOptions): TaskContent | undefined; export declare function resolveExecutionContext(cwd: string, task: string, options: Pick, pipelineConfig: PipelineConfig | undefined, prBranch?: string, prBaseBranch?: string): Promise; export declare function runWorkflow(projectCwd: string, workflow: string, task: string, execCwd: string, options: Pick, context: ExecutionContext, loopAnalysisPublication?: LoopAnalysisPublicationCoordinator): Promise; export declare function commitAndPush(execCwd: string, projectCwd: string, branch: string, commitMessage: string, isWorktree: boolean): Promise; //# sourceMappingURL=steps.d.ts.map