/** * Shared command implementations — single source of truth for the 22 ADO * operations. Both the OpenCode plugin tools (index.ts) and the `ado` CLI * (bin/opencode-ado.ts) call these so their output stays identical. * * Each function takes a resolved AdoConfig plus typed args and returns the * formatted string the caller prints / returns to the LLM. */ import type { AdoConfig } from "./shared.js"; export declare function prList(config: AdoConfig, args: { profile?: string; }): Promise; export declare function prGet(config: AdoConfig, args: { repo?: string; prId?: number; profile?: string; }): Promise; export declare function prThreads(config: AdoConfig, args: { repo?: string; prId?: number; profile?: string; }): Promise; export declare function prComment(config: AdoConfig, args: { repo?: string; prId?: number; comment: string; filePath?: string; line?: number; profile?: string; }): Promise; export declare function prVote(config: AdoConfig, args: { repo?: string; prId?: number; vote: string; comment?: string; profile?: string; }): Promise; export declare function prSelect(config: AdoConfig, args: { repo?: string; prId: number; profile?: string; }): Promise; export declare function prDiff(config: AdoConfig, args: { repo?: string; prId?: number; profile?: string; }): Promise; export declare function prFile(config: AdoConfig, args: { path: string; repo?: string; prId?: number; startLine?: number; endLine?: number; profile?: string; }): Promise; export declare function prContext(config: AdoConfig, args: { repo?: string; prId?: number; profile?: string; }): Promise; export declare function prCreate(config: AdoConfig, args: { repo: string; sourceBranch: string; targetBranch: string; title: string; description?: string; workItemIds?: number[]; isDraft?: boolean; profile?: string; }): Promise; export declare function prChain(config: AdoConfig, args: { repo: string; workItemIds: number[]; baseBranch?: string; strategy?: "feature-chain" | "stacked"; prefix?: string; branchNames?: string[]; profile?: string; }): Promise; export declare function wiList(config: AdoConfig, args: { state?: string; assignedTo?: string; tag?: string; workItemType?: string; profile?: string; }): Promise; export declare function wiGet(config: AdoConfig, args: { id: number; profile?: string; }): Promise; export declare function wiUpdate(config: AdoConfig, args: { id: number; state?: string; priority?: number; comment?: string; profile?: string; }): Promise; export declare function wiComment(config: AdoConfig, args: { id: number; comment: string; profile?: string; }): Promise; export declare function wiTypes(config: AdoConfig, args: { profile?: string; }): Promise; interface WiCreateArgs { type?: string; title: string; description?: string; areaPath?: string; iterationPath?: string; priority?: number; assignedTo?: string; state?: string; tags?: string; parentId?: number; customFields?: Record; profile?: string; } export declare function wiCreate(config: AdoConfig, args: WiCreateArgs): Promise; export declare function wiCreateChild(config: AdoConfig, args: WiCreateArgs & { parentId: number; }): Promise; export declare function wiRelated(config: AdoConfig, args: { id: number; state?: string; workItemType?: string; profile?: string; }): Promise; export declare function profileGet(config: AdoConfig, args: { profile?: string; }): Promise; export declare function profileList(config: AdoConfig): string; export declare function profileUse(config: AdoConfig, args: { name: string; }): string; export {}; //# sourceMappingURL=cli-commands.d.ts.map