export type WriteBackTarget = 'github' | 'jira'; export type WriteBackPayload = { title: string; body: string; }; export type WriteBackResult = { pushed: boolean; target: WriteBackTarget; url: string | null; dryRun: boolean; }; export type SpawnSyncResult = { stdout: string; stderr: string; status: number | null; }; export type WriteBackDeps = { spawnSyncFn?: (cmd: string, args: string[], input?: string) => SpawnSyncResult; log?: (message: string) => void; }; export declare function pushToGitHub(issueNumber: string, payload: WriteBackPayload, dryRun: boolean, deps?: WriteBackDeps): Promise; export type JiraMcpDeps = { spawnSyncFn?: (cmd: string, args: string[], input?: string) => SpawnSyncResult; log?: (message: string) => void; }; export declare function pushToJira(issueKey: string, payload: WriteBackPayload, dryRun: boolean, deps?: JiraMcpDeps): Promise;