import { Elysia } from "elysia";
import type { AIMessage, RAGEvaluationResponse, RAGAdminActionRecord, RAGAdminCapabilities, RAGAdminJobRecord, RAGBackendsResponse, RAGBackendMaintenanceSummary, RAGDocumentChunksResponse, RAGDocumentsResponse, RAGChatPluginConfig, RAGMutationResponse, RAGOperationsResponse, RAGRetrievalBaselineListResponse, RAGRetrievalLaneHandoffDecisionListResponse, RAGRetrievalLaneHandoffDecisionRecord, RAGRetrievalLaneHandoffDecisionResponse, RAGRetrievalLaneHandoffAutoCompletePolicyHistoryResponse, RAGRetrievalReleaseLanePolicyHistoryResponse, RAGRetrievalBaselineGatePolicyHistoryResponse, RAGRetrievalReleaseLaneEscalationPolicyHistoryResponse, RAGRetrievalLaneHandoffIncidentHistoryResponse, RAGRetrievalLaneHandoffIncidentListResponse, RAGRetrievalLaneHandoffIncidentRecord, RAGRetrievalLaneHandoffIncidentStatusResponse, RAGRetrievalLaneHandoffListResponse, RAGRetrievalIncidentRemediationDecisionListResponse, RAGRetrievalIncidentRemediationExecutionHistoryResponse, RAGRetrievalIncidentRemediationBulkExecutionResponse, RAGRetrievalIncidentRemediationExecutionResponse, RAGRetrievalIncidentRemediationStatusResponse, RAGRetrievalReleaseIncidentListResponse, RAGRetrievalReleaseIncidentStatusResponse, RAGAdaptiveNativePlannerBenchmarkResponse, RAGAdaptiveNativePlannerBenchmarkSnapshotResponse, RAGRetrievalReleaseGroupHistoryResponse, RAGRetrievalBaselineResponse, RAGRetrievalPromotionCandidateListResponse, RAGRetrievalReleaseDecisionListResponse, RAGRetrievalComparisonResponse, RAGRetrievalComparisonHistoryResponse, RAGSearchResponse, RAGSearchTracePruneHistoryResponse, RAGSearchTracePrunePreviewResponse, RAGSearchTracePruneResponse, RAGSearchTraceStatsResponse, RAGSearchTraceGroupHistoryResponse, RAGSearchTraceHistoryResponse, RAGSyncResponse, RAGVectorStoreStatus } from "@absolutejs/ai";
export declare const ragChat: (config: RAGChatPluginConfig) => Elysia<"", {
    decorator: {};
    store: {};
    derive: {};
    resolve: {};
}, {
    typebox: {};
    error: {};
}, {
    schema: {};
    standaloneSchema: {};
    macro: {};
    macroFn: {};
    parser: {};
    response: {};
}, {
    [x: string]: {
        subscribe: {
            body: unknown;
            params: {};
            query: unknown;
            headers: unknown;
            response: {};
        };
    };
} & {
    [x: string]: {
        search: {
            post: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGSearchResponse;
                };
            };
        };
    };
} & {
    [x: string]: {
        traces: {
            get: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGSearchTraceHistoryResponse;
                };
            };
        };
    };
} & {
    [x: string]: {
        traces: {
            groups: {
                get: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | RAGSearchTraceGroupHistoryResponse;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        traces: {
            stats: {
                get: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | RAGSearchTraceStatsResponse;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        traces: {
            prune: {
                preview: {
                    post: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGSearchTracePrunePreviewResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        traces: {
            prune: {
                post: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | RAGMutationResponse | RAGSearchTracePruneResponse;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        traces: {
            prune: {
                history: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGSearchTracePruneHistoryResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                post: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | RAGRetrievalComparisonResponse;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                history: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGRetrievalComparisonHistoryResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "adaptive-native-planner": {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "native-backend-comparison": {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "presentation-cue": {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "spreadsheet-cue": {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "adaptive-native-planner": {
                        run: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "native-backend-comparison": {
                        run: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "presentation-cue": {
                        run: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "spreadsheet-cue": {
                        run: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGAdaptiveNativePlannerBenchmarkResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "adaptive-native-planner": {
                        snapshots: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGAdaptiveNativePlannerBenchmarkSnapshotResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "native-backend-comparison": {
                        snapshots: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGAdaptiveNativePlannerBenchmarkSnapshotResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "presentation-cue": {
                        snapshots: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGAdaptiveNativePlannerBenchmarkSnapshotResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                benchmarks: {
                    "spreadsheet-cue": {
                        snapshots: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGAdaptiveNativePlannerBenchmarkSnapshotResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                baselines: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGRetrievalBaselineListResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                baselines: {
                    decisions: {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGRetrievalReleaseDecisionListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                "release-history": {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGRetrievalReleaseGroupHistoryResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                handoffs: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGRetrievalLaneHandoffListResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                handoffs: {
                    decisions: {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGRetrievalLaneHandoffDecisionListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                handoffs: {
                    incidents: {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGRetrievalLaneHandoffIncidentListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                handoffs: {
                    incidents: {
                        history: {
                            get: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGRetrievalLaneHandoffIncidentHistoryResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                handoffs: {
                    policies: {
                        history: {
                            get: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGRetrievalLaneHandoffAutoCompletePolicyHistoryResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                handoffs: {
                    incidents: {
                        acknowledge: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffIncidentListResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                handoffs: {
                    incidents: {
                        unacknowledge: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffIncidentListResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                handoffs: {
                    incidents: {
                        resolve: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffIncidentListResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                handoffs: {
                    decide: {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalLaneHandoffDecisionResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                incidents: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGRetrievalReleaseIncidentListResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                incidents: {
                    remediations: {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGRetrievalIncidentRemediationDecisionListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                incidents: {
                    remediations: {
                        executions: {
                            get: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGRetrievalIncidentRemediationExecutionHistoryResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                incidents: {
                    remediations: {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalIncidentRemediationDecisionListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                incidents: {
                    remediations: {
                        execute: {
                            post: {
                                body: unknown;
                                params: {};
                                query: unknown;
                                headers: unknown;
                                response: {
                                    200: Response | RAGMutationResponse | RAGRetrievalIncidentRemediationExecutionResponse;
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                incidents: {
                    remediations: {
                        execute: {
                            bulk: {
                                post: {
                                    body: unknown;
                                    params: {};
                                    query: unknown;
                                    headers: unknown;
                                    response: {
                                        200: Response | RAGMutationResponse | RAGRetrievalIncidentRemediationBulkExecutionResponse;
                                    };
                                };
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                incidents: {
                    acknowledge: {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalReleaseIncidentListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                incidents: {
                    unacknowledge: {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalReleaseIncidentListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & ({
    [x: string]: {
        compare: {
            retrieval: {
                incidents: {
                    resolve: {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalReleaseIncidentListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                candidates: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGRetrievalPromotionCandidateListResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                baselines: {
                    approve: {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalReleaseDecisionListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                baselines: {
                    reject: {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalReleaseDecisionListResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                baselines: {
                    promote: {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                baselines: {
                    "promote-lane": {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                baselines: {
                    "promote-run": {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                baselines: {
                    revert: {
                        post: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGMutationResponse | RAGRetrievalBaselineResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        evaluate: {
            post: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | {
                        error: string;
                        ok: false;
                    } | ({
                        ok: true;
                    } & RAGEvaluationResponse);
                };
            };
        };
    };
} & {
    [x: string]: {
        evaluate: {
            stream: {
                post: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: AsyncGenerator<{
                            readonly data: string;
                            readonly event: "error";
                        } | {
                            readonly data: string;
                            readonly event: "start";
                        } | {
                            readonly data: string;
                            readonly event: "case";
                        } | {
                            readonly data: string;
                            readonly event: "result";
                        }, void, unknown>;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        status: {
            get: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGOperationsResponse;
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                "release-policies": {
                    history: {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGRetrievalReleaseLanePolicyHistoryResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                "gate-policies": {
                    history: {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGRetrievalBaselineGatePolicyHistoryResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                "escalation-policies": {
                    history: {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGRetrievalReleaseLaneEscalationPolicyHistoryResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        compare: {
            retrieval: {
                "incident-policies": {
                    history: {
                        get: {
                            body: unknown;
                            params: {};
                            query: unknown;
                            headers: unknown;
                            response: {
                                200: Response | RAGRetrievalReleaseLaneEscalationPolicyHistoryResponse;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        status: {
            release: {
                get: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: {
                            ok: true;
                            retrievalComparisons: import("@absolutejs/ai").RAGRetrievalComparisonRuntime | undefined;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        status: {
            maintenance: {
                get: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | {
                            admin: RAGAdminCapabilities;
                            adminActions: RAGAdminActionRecord[];
                            adminJobs: RAGAdminJobRecord[];
                            maintenance: RAGBackendMaintenanceSummary | undefined;
                            ok: true;
                            status: RAGVectorStoreStatus | undefined;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        status: {
            release: {
                incidents: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: RAGRetrievalReleaseIncidentStatusResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        status: {
            release: {
                remediations: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: RAGRetrievalIncidentRemediationStatusResponse;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        status: {
            release: {
                drift: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: {
                                handoffDriftCountsByLane: import("@absolutejs/ai").RAGRetrievalLaneHandoffDriftCountByLane[] | undefined;
                                handoffDriftRollups: import("@absolutejs/ai").RAGRetrievalLaneHandoffDriftRollup[] | undefined;
                                ok: true;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        status: {
            handoffs: {
                incidents: {
                    get: {
                        body: unknown;
                        params: {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: RAGRetrievalLaneHandoffIncidentStatusResponse;
                        };
                    };
                };
            };
        };
    };
} & ({
    [x: string]: {
        status: {
            handoffs: {
                get: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: {
                            autoComplete: import("@absolutejs/ai").RAGRetrievalLaneHandoffAutoCompleteSummary[] | undefined;
                            decisions: RAGRetrievalLaneHandoffDecisionRecord[] | undefined;
                            freshnessWindows: import("@absolutejs/ai").RAGRetrievalLaneHandoffFreshnessWindow[] | undefined;
                            handoffs: import("@absolutejs/ai").RAGRetrievalReleaseLaneHandoffSummary[] | undefined;
                            incidentSummary: {
                                acknowledgedOpenCount: number;
                                latestResolvedAt: number | undefined;
                                latestTriggeredAt: number | undefined;
                                oldestOpenAgeMs: number | undefined;
                                oldestOpenTriggeredAt: number | undefined;
                                openCount: number;
                                resolvedCount: number;
                                staleOpenCount: number;
                                unacknowledgedOpenCount: number;
                            };
                            incidents: RAGRetrievalLaneHandoffIncidentRecord[] | undefined;
                            recentHistory: import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentHistoryRecord[] | undefined;
                            ok: true;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        ops: {
            get: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGOperationsResponse;
                };
            };
        };
    };
} & {
    [x: string]: {
        documents: {
            get: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGDocumentsResponse | {
                        ok: false;
                        error: string;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        documents: {
            post: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGMutationResponse;
                };
            };
        };
    };
} & {
    [x: string]: {
        documents: {
            ":id": {
                chunks: {
                    get: {
                        body: unknown;
                        params: {
                            id: string;
                        } & {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGDocumentChunksResponse;
                            422: {
                                type: "validation";
                                on: string;
                                summary?: string;
                                message?: string;
                                found?: unknown;
                                property?: string;
                                expected?: string;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        backends: {
            get: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: RAGBackendsResponse | {
                        ok: false;
                        error: string;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        sync: {
            get: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGSyncResponse;
                };
            };
        };
    };
} & {
    [x: string]: {
        sync: {
            post: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGMutationResponse | RAGSyncResponse;
                };
            };
        };
    };
} & {
    [x: string]: {
        sync: {
            ":id": {
                post: {
                    body: unknown;
                    params: {
                        id: string;
                    } & {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | RAGMutationResponse | RAGSyncResponse;
                        422: {
                            type: "validation";
                            on: string;
                            summary?: string;
                            message?: string;
                            found?: unknown;
                            property?: string;
                            expected?: string;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        ingest: {
            post: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGMutationResponse | {
                        count?: number;
                        documentCount?: number;
                        ok: boolean;
                        error?: string;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        index: {
            delete: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: RAGMutationResponse;
                };
            };
        };
    };
} & ({
    [x: string]: {
        backend: {
            analyze: {
                post: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | RAGMutationResponse;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        backend: {
            "reindex-native": {
                post: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | RAGMutationResponse;
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        documents: {
            ":id": {
                delete: {
                    body: unknown;
                    params: {
                        id: string;
                    } & {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | RAGMutationResponse;
                        422: {
                            type: "validation";
                            on: string;
                            summary?: string;
                            message?: string;
                            found?: unknown;
                            property?: string;
                            expected?: string;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        reindex: {
            documents: {
                ":id": {
                    post: {
                        body: unknown;
                        params: {
                            id: string;
                        } & {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response | RAGMutationResponse;
                            422: {
                                type: "validation";
                                on: string;
                                summary?: string;
                                message?: string;
                                found?: unknown;
                                property?: string;
                                expected?: string;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        reindex: {
            source: {
                post: {
                    body: unknown;
                    params: {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | RAGMutationResponse;
                    };
                };
            };
        };
    };
} & ({
    [x: string]: {
        reseed: {
            post: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGMutationResponse;
                };
            };
        };
    };
} & {
    [x: string]: {
        reset: {
            post: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response | RAGMutationResponse;
                };
            };
        };
    };
} & {
    [x: string]: {
        conversations: {
            get: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: import("@absolutejs/ai").AIConversationSummary[];
                };
            };
        };
    };
} & ({
    [x: string]: {
        conversations: {
            ":id": {
                get: {
                    body: unknown;
                    params: {
                        id: string;
                    } & {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: Response | {
                            id: string;
                            messages: AIMessage[];
                            title: string;
                        };
                        422: {
                            type: "validation";
                            on: string;
                            summary?: string;
                            message?: string;
                            found?: unknown;
                            property?: string;
                            expected?: string;
                        };
                    };
                };
            };
        };
    };
} & ({
    [x: string]: {
        conversations: {
            ":id": {
                delete: {
                    body: unknown;
                    params: {
                        id: string;
                    } & {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: {
                            ok: boolean;
                        };
                        422: {
                            type: "validation";
                            on: string;
                            summary?: string;
                            message?: string;
                            found?: unknown;
                            property?: string;
                            expected?: string;
                        };
                    };
                };
            };
        };
    };
} | ({
    [x: string]: {
        conversations: {
            ":id": {
                delete: {
                    body: unknown;
                    params: {
                        id: string;
                    } & {};
                    query: unknown;
                    headers: unknown;
                    response: {
                        200: {
                            ok: boolean;
                        };
                        422: {
                            type: "validation";
                            on: string;
                            summary?: string;
                            message?: string;
                            found?: unknown;
                            property?: string;
                            expected?: string;
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        message: {
            post: {
                body: unknown;
                params: {};
                query: unknown;
                headers: unknown;
                response: {
                    200: Response;
                };
            };
        };
    };
} & {
    [x: string]: {
        cancel: {
            ":conversationId": {
                ":messageId": {
                    post: {
                        body: unknown;
                        params: {
                            messageId: string;
                            conversationId: string;
                        } & {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: Response;
                            422: {
                                type: "validation";
                                on: string;
                                summary?: string;
                                message?: string;
                                found?: unknown;
                                property?: string;
                                expected?: string;
                            };
                        };
                    };
                };
            };
        };
    };
} & {
    [x: string]: {
        sse: {
            ":conversationId": {
                ":messageId": {
                    get: {
                        body: unknown;
                        params: {
                            messageId: string;
                            conversationId: string;
                        } & {};
                        query: unknown;
                        headers: unknown;
                        response: {
                            200: AsyncGenerator<{
                                data: string;
                                event: string;
                            }, void, unknown>;
                            422: {
                                type: "validation";
                                on: string;
                                summary?: string;
                                message?: string;
                                found?: unknown;
                                property?: string;
                                expected?: string;
                            };
                        };
                    };
                };
            };
        };
    };
}))))))), {
    derive: {};
    resolve: {};
    schema: {};
    standaloneSchema: {};
    response: {};
}, {
    derive: {};
    resolve: {};
    schema: {};
    standaloneSchema: {};
    response: {};
} & {
    derive: {};
    resolve: {};
    schema: {};
    standaloneSchema: {};
    response: {};
}>;
