import { type GitRunOptions, type GitRunResult } from "../util/git-run.js"; export type GitRunnerFn = (args: readonly string[], opts: GitRunOptions) => Promise; export interface PushResult { pushed: boolean; code: number; stderr: string; } export interface PushTarget { url: string; refspec: string; } export interface PullTarget { url: string; ref: string; } export interface PullResult { pulled: boolean; code: number; stderr: string; } export interface RemoteProvider { readonly provider: string; push(cwd: string, target: PushTarget): Promise; pull(cwd: string, target: PullTarget): Promise; } export declare class GitRemoteProvider implements RemoteProvider { private readonly runGit; readonly provider = "github"; constructor(runGit?: GitRunnerFn); push(cwd: string, target: PushTarget): Promise; pull(cwd: string, target: PullTarget): Promise; } //# sourceMappingURL=remote-provider.d.ts.map