/** * SDK Type Adapter * * Converts between @fractary/core SDK types and FABER CLI types */ import type { Issue as SDKIssue, Worktree as SDKWorktree } from '@fractary/core'; interface CLIIssue { id: string; number: number; title: string; description: string; labels: string[]; url: string; state: string; createdAt?: string; updatedAt?: string; } interface WorktreeResult { path: string; absolute_path: string; branch: string; created_at: string; organization: string; project: string; work_id: string; } /** * Convert SDK Issue to CLI Issue * * @param sdkIssue - Issue from @fractary/core SDK * @returns CLI Issue format */ export declare function sdkIssueToCLIIssue(sdkIssue: SDKIssue): CLIIssue; /** * Convert SDK Worktree to CLI WorktreeResult * * @param sdkWorktree - Worktree from @fractary/core SDK * @param organization - GitHub organization * @param project - GitHub project/repo name * @param workId - Work/issue ID * @returns CLI WorktreeResult format */ export declare function sdkWorktreeToCLIWorktreeResult(sdkWorktree: SDKWorktree, organization: string, project: string, workId: string): WorktreeResult; export {}; //# sourceMappingURL=sdk-type-adapter.d.ts.map