export interface SyncBackend { init(repoPath: string, remoteUrl?: string): Promise; pull(): Promise; commit(message: string): Promise; push(): Promise; fetch(): Promise; rebaseAbort(): Promise; hasChanges(): Promise; readFileAtRef(ref: string, filePath: string): Promise; resetToRef(ref: string): Promise; getRepoPath(): string; getBranch(): string; }