import { Binary as BinaryEntity } from '../core/entity/Binary.ts'; import { AbstractRepository } from './AbstractRepository.ts'; export declare class BinaryRepository extends AbstractRepository { private readonly Binary; saveBinary(binary: BinaryEntity): Promise; findBinary(category: string, parent: string, name: string): Promise; listBinaries(category: string, parent: string, options?: { limit: number; since: string; }): Promise; /** * List binary names and dates without full entity instantiation. * This is optimized for diff operations to avoid Bone constructor overhead. */ listBinaryNameAndDates(category: string, parent: string): Promise<{ id: bigint; binaryId: string; name: string; date: string; }[]>; findLatestBinaryDir(category: string, parent: string): Promise; findLatestBinary(category: string): Promise; }