/**
 * Shared post-execution logic: auto-commit, push, and PR creation.
 *
 * Used by taskExecution (takt run / watch path) and
 * instructBranch (takt list).
 */
import type { Issue } from '../../../infra/git/index.js';
export interface PostExecutionOptions {
    execCwd: string;
    projectCwd: string;
    task: string;
    branch?: string;
    baseBranch?: string;
    shouldCreatePr: boolean;
    managedPr?: boolean;
    shouldPublishBranchToOrigin?: boolean;
    draftPr: boolean;
    workflowIdentifier?: string;
    issues?: Issue[];
    orderContent?: string;
    repo?: string;
}
export interface PostExecutionResult {
    prUrl?: string;
    prFailed?: boolean;
    prError?: string;
    taskFailed?: boolean;
    taskError?: string;
}
/**
 * Auto-commit, push, and optionally create a PR after successful task execution.
 */
export declare function postExecutionFlow(options: PostExecutionOptions): Promise<PostExecutionResult>;
//# sourceMappingURL=postExecution.d.ts.map