import { type MarkdownRecord } from "./markdown.js"; import { type InboxMessage, type Task } from "./schemas.js"; export interface TaskIdMapping { source: string; target: string; } export interface TextualTaskReference { id: string; path: string; field: "title" | "body"; line: number | null; } export interface TaskIdMutationResult { mappings: TaskIdMapping[]; tasks: MarkdownRecord[]; inbox: MarkdownRecord[]; textualReferences: TextualTaskReference[]; commitSha: string | null; recoveryOperation: "merge" | "rebase" | null; } export interface TaskConflictVariant { stage: 2 | 3; label: "ours" | "theirs"; title: string; createdAt: string; } export interface TaskConflictResult { id: string; path: string; variants: TaskConflictVariant[]; } export interface ResolveTaskConflictResult { conflictId: string; movedStage: 2 | 3; targetId: string; kept: MarkdownRecord; moved: MarkdownRecord; textualReferences: TextualTaskReference[]; recoveryOperation: "merge" | "rebase"; } export declare function renumberTask(source: string, target: string, cwd?: string): Promise; export declare function shiftTasks(from: string, count: number, cwd?: string): Promise; export declare function inspectTaskConflict(id: string, cwd?: string): Promise; export declare function resolveTaskConflict(id: string, moveStage: number, target: string, cwd?: string): Promise; //# sourceMappingURL=task-ids.d.ts.map