import type { TaskExecutionOptions, WorktreeConfirmationResult, SelectAndExecuteOptions } from './types.js'; import type { WorkflowSystemCommandsConfig } from '../../../core/models/config-types.js'; export type { WorktreeConfirmationResult, SelectAndExecuteOptions }; export declare function determineWorkflow(cwd: string, override?: string, workflowSystemCommandsPolicy?: WorkflowSystemCommandsConfig): Promise; export declare function confirmAndCreateWorktree(cwd: string, task: string, createWorktreeOverride: boolean, branchOverride?: string, baseBranchOverride?: string, materializePullRequestDiff?: boolean): Promise; export type TaskExecutionOutcome = { readonly kind: 'cancelled'; } | { readonly success: boolean; readonly reason?: string; }; export declare function selectAndExecuteTask(cwd: string, task: string, options: SelectAndExecuteOptions & { failureMode: 'return'; }, agentOverrides?: TaskExecutionOptions): Promise; export declare function selectAndExecuteTask(cwd: string, task: string, options?: SelectAndExecuteOptions, agentOverrides?: TaskExecutionOptions): Promise; //# sourceMappingURL=selectAndExecute.d.ts.map