import { EarlyEtaStrategy, PreferredMethod } from '@bringg/types/types/fleet_router_rules';
export interface RulesResponse {
    success: boolean;
    routing_rules: Rule[];
}
export interface PatchedRulesResponse {
    success: boolean;
    routing_rules: {
        success: boolean;
        fleet_router_rules_group_id: string;
        routing_rule: Rule;
    }[];
}
export interface RuleResponse {
    success: boolean;
    routing_rule: Rule;
}
export interface Rule {
    rule_id?: string;
    fleet_router_rules_group_id: string;
    name: string;
    fleet_router_fleets_groups: FleetGroup[];
    rule_teams: RuleTeams;
    enabled: boolean;
    priority?: string;
}
export interface RuleTeams {
    merchant_level: boolean;
    team_ids?: TeamIds | string[];
}
export interface TeamIds {
    added?: string[];
    removed?: string[];
}
export interface FleetGroup {
    name?: string;
    fleet_ids?: string[];
    preferred_method: PreferredMethod;
    fleets_ratio?: FleetRatio[];
    all_fleets: boolean;
    early_eta_strategy?: EarlyEtaStrategy;
}
export interface FleetRatio {
    fleet_id: string;
    ratio: number;
}
