import { ActualBreak, LocationEvent, Run, RunDetails, RunHistoryEvent } from '@bringg/types';
import { BasicResponse } from '../Core/Responses';
export type RunResponse = {
    success: boolean;
    run: Run;
};
export type RunsResponse = {
    success: boolean;
    runs: RunDetails[];
    rc: number;
    next_page: boolean;
};
export type RunHistoryResponse = {
    rc: number;
    success: boolean;
    run_histories: RunHistoryEvent[];
};
export type RunCashoutResponse = {
    rc: number;
    success: boolean;
    run_cashout: number;
};
export type RunLocationsResponse = {
    rc: number;
    success: boolean;
    run_locations: LocationEvent[];
};
export type RunBulkCloseResponse = {
    rc: number;
    success: boolean;
    results?: RunBulkCloseResult[];
};
export type RunMarkDonePlanningResponse = {
    rc: number;
    success: boolean;
};
export type RunBulkCloseResult = {
    id: number;
    success: boolean;
};
export type RunDriverAssignmentResult = {
    rc: number;
    success: boolean;
    message: string;
};
export type RunVehicleAssignmentResult = {
    rc: number;
    success: boolean;
    message: string;
};
export declare enum RunStatus {
    ALL = "all",
    CLOSED = "closed",
    OPEN = "open"
}
export declare enum RunEvents {
    UPDATED = "run updated",
    DELETED = "run deleted",
    CREATED = "run created"
}
export declare enum RunGroupTypes {
    TaskIds = "taskIds"
}
export type ActualBreaksByRunIdResponse = BasicResponse & {
    run_id_to_break: Map<number, ActualBreak>;
};
export declare const runExtractor: (response: RunResponse) => Run;
export declare const runsHistoryExtractor: (response: RunHistoryResponse) => RunHistoryResponse;
export declare const runsLocationsExtractor: (response: RunLocationsResponse) => RunLocationsResponse;
export declare const runCashoutExtractor: (response: RunCashoutResponse) => RunCashoutResponse;
export declare const defaultExtractor: (response: any) => any;
export declare const GetAllChunkSize = 450;
