/** * Shared chain runner functions extracted from index.ts handlers. * These functions contain the real business logic for PR creation and * chained PR orchestration, decoupled from the OpenCode/Pi plugin closures. */ import type { AdoClient } from "./ado-client.js"; import type { ProjectConfig } from "./chain-types.js"; export interface CreatePrOpts { repo: string; sourceBranch: string; targetBranch: string; title: string; description?: string; workItemIds?: number[]; isDraft?: boolean; } export declare function runCreatePr(ado: AdoClient, config: ProjectConfig, opts: CreatePrOpts): Promise; export interface ChainPrsOpts { repo: string; workItemIds: number[]; baseBranch?: string; strategy?: "feature-chain" | "stacked"; prefix?: string; branchNames?: string[]; } export declare function runChainPrs(ado: AdoClient, config: ProjectConfig, opts: ChainPrsOpts): Promise; //# sourceMappingURL=chain-runner.d.ts.map