/** * Linear Status Sync * * Syncs loop execution status to a Linear issue in real-time. * Updates issue state at key transitions: start → In Progress, complete → Done, failed → In Review. */ export type LinearSyncConfig = { /** Linear issue identifier (e.g., "ENG-42") or UUID */ issueId: string; /** Suppress console output */ headless?: boolean; }; export type LinearSyncEvent = { type: 'start'; } | { type: 'iteration'; iteration: number; totalIterations: number; success: boolean; } | { type: 'complete'; summary: string; commits: number; iterations: number; cost?: string; } | { type: 'failed'; error: string; iterations: number; }; /** * Creates a Linear sync handler that updates issue status at key loop transitions. * * Returns null if auth is missing or the issue can't be found (non-blocking). */ export declare function createLinearSync(config: LinearSyncConfig): Promise<((event: LinearSyncEvent) => Promise) | null>; //# sourceMappingURL=linear-sync.d.ts.map