export interface LockfilePackage { lockPath: string; name: string; version?: string; } export interface ReadLockfileAtRefOptions { projectRoot: string; ref: string; lockfilePath: string; } export declare class LockfileReadError extends Error { constructor(message: string, cause?: unknown); } export declare class LockfileNotFoundAtRefError extends LockfileReadError { readonly ref: string; readonly lockfilePath: string; constructor(ref: string, lockfilePath: string, cause?: unknown); } export declare function findGitRoot(cwd: string): Promise; export declare function resolveGitRef(cwd: string, ref: string): Promise; export declare function readLockfileTextAtRef(options: ReadLockfileAtRefOptions): Promise; //# sourceMappingURL=lockfile.d.ts.map