import { z } from 'zod';
export declare const RIDE_ACCEPTANCE_STATUS_OPTIONS: readonly ["justification_required", "under_review", "accepted", "rejected"];
export declare const RideAcceptanceStatusSchema: z.ZodEnum<["justification_required", "under_review", "accepted", "rejected"]>;
export type RideAcceptanceStatus = z.infer<typeof RideAcceptanceStatusSchema>;
export declare const RIDE_JUSTIFICATION_SOURCE_OPTIONS: readonly ["MANUAL", "ALERT"];
export declare const RideJustificationSourceSchema: z.ZodEnum<["MANUAL", "ALERT"]>;
export type RideJustificationSource = z.infer<typeof RideJustificationSourceSchema>;
export declare const RIDE_JUSTIFICATION_STATUS_TYPE_OPTIONS: readonly ["locked_status", "acceptance_status", "pto_message"];
export declare const RideJustificationStatusTypeSchema: z.ZodEnum<["locked_status", "acceptance_status", "pto_message"]>;
export type RideJustificationStatusType = z.infer<typeof RideJustificationStatusTypeSchema>;
export declare const RideJustificationSchema: z.ZodObject<Omit<{
    _id: z.ZodString;
    created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
    created_by: z.ZodOptional<z.ZodString>;
    is_locked: z.ZodDefault<z.ZodBoolean>;
    updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
    updated_by: z.ZodOptional<z.ZodString>;
}, "_id" | "is_locked"> & {
    justification_cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_PROBLEM", "UNKNOWN_CAUSE", "WEATHER", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "ROAD_INCIDENT", "SYSTEM_FAILURE", "TRAFFIC_JAM", "VEHICLE_ISSUE"]>;
    justification_source: z.ZodEnum<["MANUAL", "ALERT"]>;
    manual_trip_id: z.ZodOptional<z.ZodString>;
    pto_message: z.ZodDefault<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    created_at: number & {
        __brand: "UnixTimestamp";
    };
    updated_at: number & {
        __brand: "UnixTimestamp";
    };
    pto_message: string;
    justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
    justification_source: "MANUAL" | "ALERT";
    created_by?: string | undefined;
    updated_by?: string | undefined;
    manual_trip_id?: string | undefined;
}, {
    created_at: number;
    updated_at: number;
    justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
    justification_source: "MANUAL" | "ALERT";
    created_by?: string | undefined;
    updated_by?: string | undefined;
    pto_message?: string | undefined;
    manual_trip_id?: string | undefined;
}>;
export type RideJustification = z.infer<typeof RideJustificationSchema>;
export declare const RideAcceptanceSchema: z.ZodObject<{
    _id: z.ZodString;
    created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
    created_by: z.ZodOptional<z.ZodString>;
    updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
    updated_by: z.ZodOptional<z.ZodString>;
} & {
    acceptance_status: z.ZodEnum<["justification_required", "under_review", "accepted", "rejected"]>;
    analysis_summary: z.ZodRecord<z.ZodString, z.ZodObject<{
        grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
        reason: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }>>;
    comments: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
        _id: z.ZodOptional<z.ZodString>;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
        message: z.ZodString;
        type: z.ZodLiteral<"note">;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }>, z.ZodObject<{
        _id: z.ZodOptional<z.ZodString>;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
        type: z.ZodLiteral<"field_changed">;
        metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        curr_value: z.ZodAny;
        field: z.ZodString;
        prev_value: z.ZodAny;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    }, {
        created_at: number;
        updated_at: number;
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    }>, z.ZodObject<{
        _id: z.ZodOptional<z.ZodString>;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
        type: z.ZodLiteral<"crud">;
        action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }>]>, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number;
        updated_at: number;
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number;
        updated_at: number;
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }>, "many">>;
    is_locked: z.ZodDefault<z.ZodBoolean>;
    justification: z.ZodNullable<z.ZodObject<Omit<{
        _id: z.ZodString;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        is_locked: z.ZodDefault<z.ZodBoolean>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
    }, "_id" | "is_locked"> & {
        justification_cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_PROBLEM", "UNKNOWN_CAUSE", "WEATHER", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "ROAD_INCIDENT", "SYSTEM_FAILURE", "TRAFFIC_JAM", "VEHICLE_ISSUE"]>;
        justification_source: z.ZodEnum<["MANUAL", "ALERT"]>;
        manual_trip_id: z.ZodOptional<z.ZodString>;
        pto_message: z.ZodDefault<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        pto_message: string;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        manual_trip_id?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        pto_message?: string | undefined;
        manual_trip_id?: string | undefined;
    }>>;
    ride_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    _id: string;
    created_at: number & {
        __brand: "UnixTimestamp";
    };
    is_locked: boolean;
    updated_at: number & {
        __brand: "UnixTimestamp";
    };
    acceptance_status: "rejected" | "justification_required" | "under_review" | "accepted";
    analysis_summary: Record<string, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }>;
    comments: ({
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    })[];
    justification: {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        pto_message: string;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        manual_trip_id?: string | undefined;
    } | null;
    ride_id: string;
    created_by?: string | undefined;
    updated_by?: string | undefined;
}, {
    _id: string;
    created_at: number;
    updated_at: number;
    acceptance_status: "rejected" | "justification_required" | "under_review" | "accepted";
    analysis_summary: Record<string, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }>;
    justification: {
        created_at: number;
        updated_at: number;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        pto_message?: string | undefined;
        manual_trip_id?: string | undefined;
    } | null;
    ride_id: string;
    created_by?: string | undefined;
    is_locked?: boolean | undefined;
    updated_by?: string | undefined;
    comments?: ({
        created_at: number;
        updated_at: number;
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number;
        updated_at: number;
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number;
        updated_at: number;
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    })[] | undefined;
}>;
export declare const CreateRideAcceptanceSchema: z.ZodObject<Omit<{
    _id: z.ZodOptional<z.ZodString>;
    created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
    created_by: z.ZodOptional<z.ZodString>;
    is_locked: z.ZodDefault<z.ZodBoolean>;
    updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
    updated_by: z.ZodOptional<z.ZodString>;
    acceptance_status: z.ZodEnum<["justification_required", "under_review", "accepted", "rejected"]>;
    analysis_summary: z.ZodRecord<z.ZodString, z.ZodObject<{
        grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
        reason: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }>>;
    comments: z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
        _id: z.ZodOptional<z.ZodString>;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
        message: z.ZodString;
        type: z.ZodLiteral<"note">;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }>, z.ZodObject<{
        _id: z.ZodOptional<z.ZodString>;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
        type: z.ZodLiteral<"field_changed">;
        metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        curr_value: z.ZodAny;
        field: z.ZodString;
        prev_value: z.ZodAny;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    }, {
        created_at: number;
        updated_at: number;
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    }>, z.ZodObject<{
        _id: z.ZodOptional<z.ZodString>;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
        type: z.ZodLiteral<"crud">;
        action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }>]>, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number;
        updated_at: number;
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number;
        updated_at: number;
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }>, "many">>;
    justification: z.ZodNullable<z.ZodObject<Omit<{
        _id: z.ZodString;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        is_locked: z.ZodDefault<z.ZodBoolean>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
    }, "_id" | "is_locked"> & {
        justification_cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_PROBLEM", "UNKNOWN_CAUSE", "WEATHER", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "ROAD_INCIDENT", "SYSTEM_FAILURE", "TRAFFIC_JAM", "VEHICLE_ISSUE"]>;
        justification_source: z.ZodEnum<["MANUAL", "ALERT"]>;
        manual_trip_id: z.ZodOptional<z.ZodString>;
        pto_message: z.ZodDefault<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        pto_message: string;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        manual_trip_id?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        pto_message?: string | undefined;
        manual_trip_id?: string | undefined;
    }>>;
    ride_id: z.ZodString;
}, "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
    is_locked: boolean;
    acceptance_status: "rejected" | "justification_required" | "under_review" | "accepted";
    analysis_summary: Record<string, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }>;
    comments: ({
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    })[];
    justification: {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        pto_message: string;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        manual_trip_id?: string | undefined;
    } | null;
    ride_id: string;
    _id?: string | undefined;
    created_by?: string | undefined;
    updated_by?: string | undefined;
}, {
    acceptance_status: "rejected" | "justification_required" | "under_review" | "accepted";
    analysis_summary: Record<string, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }>;
    justification: {
        created_at: number;
        updated_at: number;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        pto_message?: string | undefined;
        manual_trip_id?: string | undefined;
    } | null;
    ride_id: string;
    _id?: string | undefined;
    created_by?: string | undefined;
    is_locked?: boolean | undefined;
    updated_by?: string | undefined;
    comments?: ({
        created_at: number;
        updated_at: number;
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number;
        updated_at: number;
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number;
        updated_at: number;
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    })[] | undefined;
}>;
export declare const UpdateRideAcceptanceSchema: z.ZodObject<{
    _id: z.ZodOptional<z.ZodString>;
    is_locked: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
    updated_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>>;
    updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
    acceptance_status: z.ZodOptional<z.ZodEnum<["justification_required", "under_review", "accepted", "rejected"]>>;
    analysis_summary: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        grade: z.ZodEnum<["pass", "fail", "skip", "error"]>;
        reason: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }>>>;
    comments: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEffects<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
        _id: z.ZodOptional<z.ZodString>;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
        message: z.ZodString;
        type: z.ZodLiteral<"note">;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }>, z.ZodObject<{
        _id: z.ZodOptional<z.ZodString>;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
        type: z.ZodLiteral<"field_changed">;
        metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        curr_value: z.ZodAny;
        field: z.ZodString;
        prev_value: z.ZodAny;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    }, {
        created_at: number;
        updated_at: number;
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    }>, z.ZodObject<{
        _id: z.ZodOptional<z.ZodString>;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
        type: z.ZodLiteral<"crud">;
        action: z.ZodEnum<["create", "update", "delete", "archive", "restore"]>;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }>]>, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number;
        updated_at: number;
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number;
        updated_at: number;
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    }>, "many">>>;
    justification: z.ZodOptional<z.ZodNullable<z.ZodObject<Omit<{
        _id: z.ZodString;
        created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        created_by: z.ZodOptional<z.ZodString>;
        is_locked: z.ZodDefault<z.ZodBoolean>;
        updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
        updated_by: z.ZodOptional<z.ZodString>;
    }, "_id" | "is_locked"> & {
        justification_cause: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_PROBLEM", "UNKNOWN_CAUSE", "WEATHER", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "ROAD_INCIDENT", "SYSTEM_FAILURE", "TRAFFIC_JAM", "VEHICLE_ISSUE"]>;
        justification_source: z.ZodEnum<["MANUAL", "ALERT"]>;
        manual_trip_id: z.ZodOptional<z.ZodString>;
        pto_message: z.ZodDefault<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        pto_message: string;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        manual_trip_id?: string | undefined;
    }, {
        created_at: number;
        updated_at: number;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        pto_message?: string | undefined;
        manual_trip_id?: string | undefined;
    }>>>;
    ride_id: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    _id?: string | undefined;
    is_locked?: boolean | undefined;
    updated_at?: import("../index.js").UnixTimestamp | undefined;
    updated_by?: string | undefined;
    acceptance_status?: "rejected" | "justification_required" | "under_review" | "accepted" | undefined;
    analysis_summary?: Record<string, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }> | undefined;
    comments?: ({
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    })[] | undefined;
    justification?: {
        created_at: number & {
            __brand: "UnixTimestamp";
        };
        updated_at: number & {
            __brand: "UnixTimestamp";
        };
        pto_message: string;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        manual_trip_id?: string | undefined;
    } | null | undefined;
    ride_id?: string | undefined;
}, {
    _id?: string | undefined;
    is_locked?: boolean | undefined;
    updated_at?: number | undefined;
    updated_by?: string | undefined;
    acceptance_status?: "rejected" | "justification_required" | "under_review" | "accepted" | undefined;
    analysis_summary?: Record<string, {
        grade: "error" | "pass" | "fail" | "skip";
        reason: string;
    }> | undefined;
    comments?: ({
        created_at: number;
        updated_at: number;
        message: string;
        type: "note";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    } | {
        created_at: number;
        updated_at: number;
        type: "field_changed";
        field: string;
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        curr_value?: any;
        prev_value?: any;
    } | {
        created_at: number;
        updated_at: number;
        type: "crud";
        action: "create" | "update" | "delete" | "archive" | "restore";
        _id?: string | undefined;
        created_by?: string | undefined;
        updated_by?: string | undefined;
    })[] | undefined;
    justification?: {
        created_at: number;
        updated_at: number;
        justification_cause: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "HOLIDAY" | "MAINTENANCE" | "MEDICAL_EMERGENCY" | "OTHER_CAUSE" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_PROBLEM" | "UNKNOWN_CAUSE" | "WEATHER" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "ROAD_INCIDENT" | "SYSTEM_FAILURE" | "TRAFFIC_JAM" | "VEHICLE_ISSUE";
        justification_source: "MANUAL" | "ALERT";
        created_by?: string | undefined;
        updated_by?: string | undefined;
        pto_message?: string | undefined;
        manual_trip_id?: string | undefined;
    } | null | undefined;
    ride_id?: string | undefined;
}>;
export type RideAcceptance = z.infer<typeof RideAcceptanceSchema>;
export type CreateRideAcceptanceDto = z.infer<typeof CreateRideAcceptanceSchema>;
export type UpdateRideAcceptanceDto = z.infer<typeof UpdateRideAcceptanceSchema>;
