/** * GitSyncDriver — drives `backend: 'git'` libraries. * * status/pull are permitted for owner | contributor | reader. * push is permitted only for owner. * propose is permitted only for contributor (fork + branch + PR via `gh` CLI). * publish is never permitted. * * @docLink packages/library/concepts#sync-driver */ import { type AssetRef, type Library, type ProposeOpts, type ProposeResult, type PublishOpts, type PublishResult, type PullOpts, type PullResult, type PushOpts, type PushResult, type SyncStatus } from "../user-library.js"; import type { LibrarySyncDriver } from "./driver.js"; export declare class GitSyncDriver implements LibrarySyncDriver { readonly backend: "git"; status(lib: Library): Promise; pull(lib: Library, opts?: PullOpts): Promise; push(lib: Library, opts?: PushOpts): Promise; propose(lib: Library, opts: ProposeOpts): Promise; publish(_lib: Library, _refs: AssetRef[], _opts: PublishOpts): Promise; } //# sourceMappingURL=git-driver.d.ts.map