import type { RevDoc } from '@vltpkg/types'; import type { GitOptions } from './index.ts'; /** * Given a repo and either a ref or a git specifier Spec object, resolve the * appropriate ref that we should clone, ideally witout actually cloning the * repository. * * */ export declare const resolve: (repo: string, ref?: string, opts?: GitOptions) => Promise; /** * Given a repo's RevDoc object and either a ref or a git specifier Spec * object, resolve the appropriate ref that we should clone, witout actually * cloning the repository. */ export declare const resolveRef: (revDoc: RevDoc, ref?: string, opts?: GitOptions) => import("@vltpkg/types").RevDocEntry | undefined;