import { CreateServiceAreaDto, PaginationDto } from './dto/create-service-area.dto';
import { UpdateServiceAreaDto } from './dto/update-service-area.dto';
import { DbService } from 'src/db/db.service';
import { CommonService } from 'src/common/common.service';
export declare class ServiceLocationService {
    private readonly model;
    private readonly commonService;
    constructor(model: DbService, commonService: CommonService);
    create(createServiceAreaDto: CreateServiceAreaDto): Promise<{
        message: string;
        _id: string;
    } | {
        message: string;
        _id?: undefined;
    }>;
    findAll(query: PaginationDto): Promise<any>;
    toggleUseServiceArea(): Promise<{
        message: string;
    }>;
    getUseServiceArea(): Promise<{
        use_service_area: boolean;
    }>;
    findOne(id: string): Promise<any>;
    update_old(id: string, updateServiceAreaDto: UpdateServiceAreaDto): Promise<{
        message: string;
    }>;
    update(id: string, updateServiceAreaDto: UpdateServiceAreaDto): Promise<{
        message: string;
    }>;
    changeStatus(id: string, status: string): Promise<{
        message: string;
    }>;
    checkIsAnyPolygonIntersecting(currentId: string): Promise<void>;
    checkIsAnyPolygonIntersectingWithPolygon(location: any, parentId?: string, excludeId?: string): Promise<void>;
    checkIsAnyPricingPolygonIntersecting(location: any, excludeId?: string): Promise<void>;
    remove(id: string): Promise<{
        message: string;
    }>;
    getServiceAreas(): Promise<any>;
}
