export type SyncExecResult = { code: number; stdout: string; stderr: string; }; export type SyncExec = (argv: string[], options: { cwd: string; }) => Promise; export type SyncOptions = { cwd?: string; exec?: SyncExec; timeoutMs?: number; }; export type SyncPr = { owner: string; name: string; number: number; isCrossRepository: boolean; } | { name: string; number: null; branch: string; }; export type ResolveInput = { cwd?: string; pr: SyncPr; changed_files: string[]; }; export type PullInput = { cwd?: string; branch: string; remote?: string; }; export type PushInput = PullInput & { root: string; head_sha: string; pr: SyncPr; }; export type SyncResult = { synced: boolean; state_commit?: string; reason?: string; git_calls: number; }; export type ResolveResult = { ok: true; root: string; task: string | null; remote: string; legacy_root?: string; git_calls: number; } | { ok: false; reason: string; git_calls: number; }; export declare const resolve: (input: ResolveInput, opts?: SyncOptions) => Promise; export declare const pull: (input: PullInput, opts?: SyncOptions) => Promise; export declare const push: (input: PushInput, opts?: SyncOptions) => Promise; export declare function createSyncExecutor(options?: SyncOptions): (input: unknown) => Promise; //# sourceMappingURL=review-sync.d.ts.map