import type BitObject from './object'; import type Repository from './repository'; export default class Ref { hash: string; constructor(hash: string); toString(): string; toShortString(numOfChars?: number): string; load(repository: Repository, throws?: boolean): Promise; loadSync(repo: Repository, throws?: boolean): BitObject; loadRaw(repo: Repository): Promise; isEqual(ref: Ref): boolean; clone(): Ref; static from(hash: string): Ref; }