import type { Order, CreateOrderInput, UpdateOrderInput, OrderStatus } from '../entities/order.js'; /** * Repository interface for Order entity operations. */ export interface IOrderRepository { getById(id: string): Promise; getByTenant(tenantId: string, options?: OrderQueryOptions): Promise; getByUser(tenantId: string, userId: string): Promise; create(input: CreateOrderInput & { id: string; }): Promise; update(id: string, input: UpdateOrderInput): Promise; updateStatus(id: string, status: OrderStatus): Promise; delete(id: string): Promise; } export interface OrderQueryOptions { status?: OrderStatus | OrderStatus[]; limit?: number; offset?: number; orderBy?: 'createdAt' | 'updatedAt' | 'total'; orderDir?: 'asc' | 'desc'; } //# sourceMappingURL=IOrderRepository.d.ts.map