import type { Database } from "@prodobit/database"; export interface CreateLocationRequest { tenantId: string; name: string; code?: string; locationTypeId?: string; status?: string; parentLocationId?: string; } export interface CreateLocationTypeRequest { tenantId: string; name: string; code?: string; description?: string; category?: string; isActive?: boolean; } export interface LocationFilters { tenantId: string; locationTypeId?: string; status?: string; parentLocationId?: string; search?: string; } export declare class LocationService { private db; constructor(db: Database); createLocation(data: CreateLocationRequest): Promise; getLocations(filters: LocationFilters): Promise; getLocationById(locationId: string, tenantId: string): Promise; getChildLocations(parentLocationId: string, tenantId: string): Promise; getLocationHierarchy(locationId: string, tenantId: string): Promise; updateLocation(locationId: string, tenantId: string, data: Partial): Promise; deleteLocation(locationId: string, tenantId: string): Promise; createLocationType(data: CreateLocationTypeRequest): Promise; getLocationTypes(tenantId: string, category?: string): Promise; getLocationTypeById(locationTypeId: string, tenantId: string): Promise; updateLocationType(locationTypeId: string, tenantId: string, data: Partial): Promise; deleteLocationType(locationTypeId: string, tenantId: string): Promise; private generateLocationCode; private generateLocationTypeCode; getLocationStats(tenantId: string): Promise<{ totalLocations: number; locationsByType: Record; locationsByStatus: Record; }>; } //# sourceMappingURL=LocationService.d.ts.map