import type { Entry } from './Tree.js';
/**
 * Serializes a TreeData object into a Git tree object as a Uint8Array.
 */
export declare function serializeTreeEntries(entries: Array<Entry>): Uint8Array;
/**
 * Parses a Git tree object from a Uint8Array into a TreeEntry object.
 */
export declare function parseTreeEntries(data: Uint8Array): Array<Entry>;
/**
 * Computes the SHA-1 hash of a Git object from its type and content.
 */
export declare function hashObject(type: string, data: Uint8Array): Promise<string>;
/**
 * Computes the SHA-1 hash of a serialized tree object.
 */
export declare function hashTree(serializedTree: Uint8Array): Promise<string>;
/**
 * Computes the SHA-1 hash of a blob object from its content.
 */
export declare function hashBlob(data: Uint8Array): Promise<string>;
