import { ContractEntity } from '../entities/ContractEntity'; /** * Contract Repository Interface * Defines the contract for contract persistence operations */ export interface IContractRepository { /** * Saves a contract entity */ save(contract: ContractEntity): Promise; /** * Finds a contract by ID */ findById(id: string): Promise; /** * Finds a contract by name */ findByName(name: string): Promise; /** * Finds all contracts */ findAll(): Promise; /** * Finds contracts by category */ findByCategory(category: string): Promise; /** * Finds active contracts */ findActive(): Promise; /** * Deletes a contract by ID */ delete(id: string): Promise; /** * Checks if a contract exists by name */ exists(name: string): Promise; } //# sourceMappingURL=IContractRepository.d.ts.map