/** * GitHub platform adapter — wraps gh CLI for issue/PR/branch operations. * * @module platform/github */ import type { PlatformAdapter, PlatformType, WorkItem, PullRequest } from './types.js'; export declare class GitHubAdapter implements PlatformAdapter { private readonly owner; private readonly repo; readonly type: PlatformType; constructor(owner: string, repo: string); private get repoFlag(); private gh; listWorkItems(options: { tags?: string[]; state?: string; limit?: number; }): Promise; getWorkItem(id: number): Promise; createWorkItem(options: { title: string; description?: string; tags?: string[]; assignedTo?: string; type?: string; }): Promise; addTag(workItemId: number, tag: string): Promise; ensureTag(tag: string, options?: { color?: string; description?: string; }): Promise; removeTag(workItemId: number, tag: string): Promise; addComment(workItemId: number, comment: string): Promise; setAssignee(workItemId: number, assignee: string | undefined): Promise; listPullRequests(options: { status?: string; limit?: number; }): Promise; createPullRequest(options: { title: string; sourceBranch: string; targetBranch: string; description?: string; }): Promise; mergePullRequest(id: number): Promise; ensureAuth(preferredUser?: string): Promise; createBranch(name: string, fromBranch?: string): Promise; } //# sourceMappingURL=github.d.ts.map