import { ContractEntity } from '../../domain/entities/ContractEntity'; import { IContractRepository } from '../../domain/repositories/IContractRepository'; /** * In-Memory implementation of IContractRepository * Suitable for testing, development, and small-scale applications */ export declare class InMemoryContractRepository implements IContractRepository { private contracts; private readonly maxContracts; constructor(maxContracts?: number); /** * Save a contract entity */ save(contract: ContractEntity): Promise; /** * Find contract by ID */ findById(id: string): Promise; /** * Find contract by name */ findByName(name: string): Promise; /** * Find all contracts */ findAll(): Promise; /** * Find active contracts */ findActive(): Promise; /** * Find contracts by category */ findByCategory(category: string): Promise; /** * Delete contract by ID */ delete(id: string): Promise; /** * Check if contract exists by name */ exists(name: string): Promise; /** * Clear all contracts (for testing) */ clear(): void; /** * Get repository statistics */ getStats(): { totalContracts: number; activeContracts: number; categories: Record; memoryUsage: number; }; } //# sourceMappingURL=InMemoryContractRepository.d.ts.map