import type { JwtUserPayload } from '../auth/jwt.types';
import { GpsService } from './gps.service';
import { GpsBatchDto } from './dto/gps.dto';
export declare class GpsController {
    private readonly gps;
    constructor(gps: GpsService);
    batch(tripId: string, actor: JwtUserPayload, dto: GpsBatchDto): Promise<{
        inserted: number;
        tripId: string;
    }>;
    route(tripId: string, from?: string, to?: string, cursor?: string, limit?: string): Promise<{
        items: {
            id: string;
            _id: import("mongoose").Types.ObjectId;
            $locals: Record<string, unknown>;
            $op: "save" | "validate" | "remove" | null;
            $where: Record<string, unknown>;
            baseModelName?: string;
            collection: import("mongoose").Collection;
            db: import("mongoose").Connection;
            errors?: import("mongoose").Error.ValidationError;
            isNew: boolean;
            schema: import("mongoose").Schema;
            tripId?: string;
            userId: string;
            clientPointId?: string;
            latitude: number;
            longitude: number;
            accuracy?: number;
            speed?: number;
            bearing?: number;
            batteryLevel?: number;
            timestamp: Date;
            isSmoothed: boolean;
            legId?: string;
            sessionId?: string;
            source?: string;
            __v: number;
        }[];
        nextCursor: string | null;
    }>;
}
