import type { Repository } from '@enonic-types/lib-repo'; import type { Log } from '../types'; import type { Server } from './Server'; import { Branch } from './Branch'; interface Branches { [key: string]: Branch; } export interface Repos { [key: string]: Repo; } export declare class Repo { private _highest_id; readonly branches: Branches; readonly id: string; readonly server: Server; readonly transient: boolean; readonly log: Log; constructor({ id, server, transient, }: { id: string; server: Server; transient?: boolean; }); createBranch(branchId: string): Branch; deleteBranch(branchId: string): true; generateId(): string; get(): Repository; getBranch(branchId: string): Branch; } export {};