import { ContactAggregate } from '../Contact/ContactAggregate'; export interface IContactRepository { create(contact: Partial): Promise; findById(id: string): Promise; findByPage(from: number, to: number): Promise<{ contacts: ContactAggregate[]; totalCount: number; }>; findByPageIncludingDeleted(from: number, to: number): Promise<{ contacts: ContactAggregate[]; totalCount: number; }>; update(id: string, update: Partial): Promise; delete(id: string): Promise; softDelete(id: string): Promise; findByIdIncludingDeleted(id: string): Promise; search(searchTerm: string): Promise; searchIncludingDeleted(searchTerm: string): Promise; } //# sourceMappingURL=IContactRepository.d.ts.map