/** * Base service class providing common functionality for all services */ export declare abstract class BaseService { /** * Validate input using Zod schema */ protected validateInput(schema: any, data: T, context: string): T; /** * Check if entity exists and throw appropriate error if not */ protected checkEntityExists(entity: T | null, entityType: string, identifier: string, context?: string): T; /** * Check for conflicts and throw appropriate error if found */ protected checkForConflict(existing: T | null, entityType: string, identifier: string, context?: string): void; /** * Validate business rules and throw domain error if violated */ protected validateBusinessRule(condition: boolean, message: string, context?: string): void; /** * Get current timestamp */ protected getCurrentTimestamp(): Date; /** * Create timestamp pair for new entities */ protected createTimestamps(): { createdAt: Date; updatedAt: Date; }; /** * Update timestamp for existing entities */ protected updateTimestamp(): Date; } //# sourceMappingURL=BaseService.d.ts.map