import type { RAGEvaluationInput, RAGRetrievalBaselineResponse, RAGRetrievalLaneHandoffDecisionRequest, RAGRetrievalBaselinePromotionFromRunRequest, RAGRetrievalBaselinePromotionRequest, RAGRetrievalBaselineRevertRequest, RAGRetrievalReleaseDecisionActionRequest, RAGRetrievalComparisonRequest, RAGDocumentChunk, RAGDocumentIngestInput, RAGDocumentUploadIngestInput, RAGDocumentUrlIngestInput, RAGRetrievalIncidentRemediationDecisionRequest, RAGRetrievalIncidentRemediationBulkExecutionRequest, RAGRetrievalIncidentRemediationExecutionRequest, RAGSearchRequest, RAGSyncRunOptions } from "@absolutejs/ai";
export declare class RAGClientService {
    private clients;
    private client;
    ingest(path: string, chunks: RAGDocumentChunk[]): Promise<import("@absolutejs/ai").RAGIngestResponse>;
    ingestDocuments(path: string, input: RAGDocumentIngestInput): Promise<import("@absolutejs/ai").RAGIngestResponse>;
    ingestUrls(path: string, input: RAGDocumentUrlIngestInput): Promise<import("@absolutejs/ai").RAGIngestResponse>;
    ingestUploads(path: string, input: RAGDocumentUploadIngestInput): Promise<import("@absolutejs/ai").RAGIngestResponse>;
    search(path: string, input: RAGSearchRequest): Promise<import("@absolutejs/ai").RAGSource[] | import("../client").RAGDetailedSearchResponse>;
    searchWithTrace(path: string, input: RAGSearchRequest): Promise<import("../client").RAGDetailedSearchResponse>;
    evaluate(path: string, input: RAGEvaluationInput): Promise<import("@absolutejs/ai").RAGEvaluationResponse>;
    compareRetrievals(path: string, input: RAGRetrievalComparisonRequest): Promise<import("@absolutejs/ai").RAGRetrievalComparison>;
    retrievalComparisonHistory(path: string, input?: {
        limit?: number;
        suiteId?: string;
        label?: string;
        winnerId?: string;
        groupKey?: string;
        tag?: string;
    }): Promise<import("@absolutejs/ai").RAGRetrievalComparisonRun[]>;
    retrievalBaselines(path: string, input?: {
        groupKey?: string;
        tag?: string;
        limit?: number;
        status?: "active" | "superseded";
    }): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord[]>;
    promoteRetrievalBaseline(path: string, input: RAGRetrievalBaselinePromotionRequest): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
    promoteRetrievalBaselineDetailed(path: string, input: RAGRetrievalBaselinePromotionRequest): Promise<RAGRetrievalBaselineResponse>;
    promoteRetrievalBaselineToLane(path: string, input: RAGRetrievalBaselinePromotionRequest & {
        rolloutLabel: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
    promoteRetrievalBaselineToLaneDetailed(path: string, input: RAGRetrievalBaselinePromotionRequest & {
        rolloutLabel: "canary" | "stable" | "rollback_target";
    }): Promise<RAGRetrievalBaselineResponse>;
    promoteRetrievalBaselineFromRun(path: string, input: RAGRetrievalBaselinePromotionFromRunRequest): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
    promoteRetrievalBaselineFromRunDetailed(path: string, input: RAGRetrievalBaselinePromotionFromRunRequest): Promise<RAGRetrievalBaselineResponse>;
    revertRetrievalBaseline(path: string, input: RAGRetrievalBaselineRevertRequest): Promise<import("@absolutejs/ai").RAGRetrievalBaselineRecord>;
    retrievalBaselineDecisions(path: string, input?: {
        groupKey?: string;
        limit?: number;
        kind?: "approve" | "promote" | "reject" | "revert";
        freshnessStatus?: "fresh" | "expired" | "not_applicable";
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDecisionRecord[]>;
    retrievalReleaseGroupHistory(path: string, input: {
        groupKey: string;
        decisionLimit?: number;
        baselineLimit?: number;
        runLimit?: number;
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseGroupHistoryResponse>;
    retrievalLaneHandoffs(path: string, input?: {
        groupKey?: string;
        sourceRolloutLabel?: "canary" | "stable" | "rollback_target";
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
        limit?: number;
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLaneHandoffSummary[]>;
    retrievalLaneHandoffDecisions(path: string, input?: {
        groupKey?: string;
        sourceRolloutLabel?: "canary" | "stable" | "rollback_target";
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
        kind?: "approve" | "reject" | "complete";
        limit?: number;
    }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffDecisionRecord[]>;
    retrievalLaneHandoffIncidents(path: string, input?: {
        groupKey?: string;
        limit?: number;
        status?: "open" | "resolved";
        severity?: "warning" | "critical";
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentRecord[]>;
    retrievalLaneHandoffIncidentHistory(path: string, input?: {
        action?: "opened" | "acknowledged" | "unacknowledged" | "resolved";
        groupKey?: string;
        incidentId?: string;
        limit?: number;
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentHistoryRecord[]>;
    retrievalLaneHandoffAutoCompletePolicyHistory(path: string, input?: {
        groupKey?: string;
        limit?: number;
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffAutoCompletePolicyHistoryRecord[]>;
    retrievalReleaseLanePolicyHistory(path: string, input?: {
        groupKey?: string;
        limit?: number;
        rolloutLabel?: "canary" | "stable" | "rollback_target";
        scope?: "rollout_label" | "group_rollout_label";
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLanePolicyHistoryRecord[]>;
    retrievalBaselineGatePolicyHistory(path: string, input?: {
        groupKey?: string;
        limit?: number;
        rolloutLabel?: "canary" | "stable" | "rollback_target";
        scope?: "rollout_label" | "group_rollout_label";
    }): Promise<import("@absolutejs/ai").RAGRetrievalBaselineGatePolicyHistoryRecord[]>;
    retrievalReleaseLaneEscalationPolicyHistory(path: string, input?: {
        groupKey?: string;
        limit?: number;
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord[]>;
    retrievalReleaseIncidentPolicyHistory(path: string, input?: {
        groupKey?: string;
        limit?: number;
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseLaneEscalationPolicyHistoryRecord[]>;
    decideRetrievalLaneHandoff(path: string, input: RAGRetrievalLaneHandoffDecisionRequest): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffDecisionRecord>;
    decideRetrievalLaneHandoffDetailed(path: string, input: RAGRetrievalLaneHandoffDecisionRequest): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffDecisionResponse>;
    retrievalReleaseIncidents(path: string, input?: {
        groupKey?: string;
        limit?: number;
        status?: "open" | "resolved";
        severity?: "warning" | "critical";
        kind?: "approval_expired" | "baseline_regression" | "gate_failure" | "handoff_stale";
        acknowledged?: boolean;
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentRecord[]>;
    retrievalIncidentRemediationDecisions(path: string, input?: {
        groupKey?: string;
        incidentId?: string;
        limit?: number;
        remediationKind?: "renew_approval" | "record_approval" | "inspect_gate" | "rerun_comparison" | "restore_source_lane" | "review_readiness" | "monitor_lane";
        status?: "planned" | "applied" | "dismissed";
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationDecisionRecord[]>;
    retrievalIncidentRemediationExecutions(path: string, input?: {
        groupKey?: string;
        incidentId?: string;
        limit?: number;
        actionKind?: RAGRetrievalIncidentRemediationExecutionRequest["action"]["kind"];
        code?: "approval_recorded" | "incident_acknowledged" | "incident_resolved" | "release_status_loaded" | "release_drift_loaded" | "handoff_status_loaded" | "guardrail_blocked" | "idempotent_replay";
        blockedByGuardrail?: boolean;
        idempotentReplay?: boolean;
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
    }): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationExecutionHistoryRecord[]>;
    recordRetrievalIncidentRemediationDecision(path: string, input: RAGRetrievalIncidentRemediationDecisionRequest): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationDecisionRecord[]>;
    executeRetrievalIncidentRemediation(path: string, input: RAGRetrievalIncidentRemediationExecutionRequest): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationExecutionResponse>;
    bulkExecuteRetrievalIncidentRemediations(path: string, input: RAGRetrievalIncidentRemediationBulkExecutionRequest): Promise<{
        index: number;
        ok: boolean;
        execution?: import("@absolutejs/ai").RAGRetrievalIncidentRemediationExecutionResult;
        record?: import("@absolutejs/ai").RAGRetrievalIncidentRemediationDecisionRecord;
        error?: string;
    }[]>;
    retrievalReleaseStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalComparisonRuntime | undefined>;
    retrievalReleaseIncidentStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentStatusResponse>;
    retrievalIncidentRemediationStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalIncidentRemediationStatusResponse>;
    retrievalReleaseDriftStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDriftStatusResponse>;
    retrievalLaneHandoffStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffStatusResponse>;
    retrievalLaneHandoffIncidentStatus(path: string): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentStatusResponse>;
    acknowledgeRetrievalLaneHandoffIncident(path: string, input: {
        incidentId: string;
        acknowledgedAt?: number;
        acknowledgedBy?: string;
        acknowledgementNotes?: string;
    }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentRecord[]>;
    unacknowledgeRetrievalLaneHandoffIncident(path: string, input: {
        incidentId: string;
    }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentRecord[]>;
    resolveRetrievalLaneHandoffIncident(path: string, input: {
        incidentId: string;
        resolvedAt?: number;
        resolvedBy?: string;
        resolutionNotes?: string;
    }): Promise<import("@absolutejs/ai").RAGRetrievalLaneHandoffIncidentRecord[]>;
    acknowledgeRetrievalReleaseIncident(path: string, input: {
        incidentId: string;
        acknowledgedAt?: number;
        acknowledgedBy?: string;
        acknowledgementNotes?: string;
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentRecord[]>;
    unacknowledgeRetrievalReleaseIncident(path: string, input: {
        incidentId: string;
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentRecord[]>;
    resolveRetrievalReleaseIncident(path: string, input: {
        incidentId: string;
        resolvedAt?: number;
        resolvedBy?: string;
        resolutionNotes?: string;
    }): Promise<import("@absolutejs/ai").RAGRetrievalReleaseIncidentRecord[]>;
    retrievalPromotionCandidates(path: string, input?: {
        groupKey?: string;
        limit?: number;
        tag?: string;
        targetRolloutLabel?: "canary" | "stable" | "rollback_target";
        approved?: boolean;
        ready?: boolean;
        blocked?: boolean;
        reviewStatus?: "approved" | "blocked" | "needs_review" | "ready";
        freshnessStatus?: "fresh" | "expired" | "not_applicable";
        sortBy?: "approvalFreshness" | "finishedAt" | "gateSeverity" | "priority";
        sortDirection?: "asc" | "desc";
    }): Promise<import("@absolutejs/ai").RAGRetrievalPromotionCandidate[]>;
    approveRetrievalCandidate(path: string, input: RAGRetrievalReleaseDecisionActionRequest): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDecisionRecord[]>;
    rejectRetrievalCandidate(path: string, input: RAGRetrievalReleaseDecisionActionRequest): Promise<import("@absolutejs/ai").RAGRetrievalReleaseDecisionRecord[]>;
    status(path: string): Promise<import("@absolutejs/ai").RAGStatusResponse>;
    ops(path: string): Promise<import("@absolutejs/ai").RAGOperationsResponse>;
    searchTraceHistory(path: string, input?: {
        query?: string;
        groupKey?: string;
        tag?: string;
        limit?: number;
    }): Promise<import("@absolutejs/ai").RAGSearchTraceHistory>;
    searchTraceGroups(path: string, input?: {
        tag?: string;
        limit?: number;
    }): Promise<import("@absolutejs/ai").RAGSearchTraceGroupHistory>;
    searchTraceStats(path: string, input?: {
        tag?: string;
    }): Promise<import("@absolutejs/ai").RAGSearchTraceStats>;
    previewSearchTracePrune(path: string, input?: {
        maxAgeMs?: number;
        maxRecordsPerQuery?: number;
        maxRecordsPerGroup?: number;
        now?: number;
        tag?: string;
    }): Promise<import("@absolutejs/ai").RAGSearchTracePrunePreview>;
    pruneSearchTraces(path: string, input?: {
        maxAgeMs?: number;
        maxRecordsPerQuery?: number;
        maxRecordsPerGroup?: number;
        now?: number;
        tag?: string;
    }): Promise<import("@absolutejs/ai").RAGSearchTracePruneResponse>;
    searchTracePruneHistory(path: string, input?: {
        limit?: number;
        trigger?: "manual" | "write" | "schedule";
    }): Promise<import("@absolutejs/ai").RAGSearchTracePruneRun[]>;
    syncSources(path: string): Promise<import("@absolutejs/ai").RAGSyncResponse>;
    syncAllSources(path: string, options?: RAGSyncRunOptions): Promise<import("@absolutejs/ai").RAGSyncResponse>;
    syncSource(path: string, id: string, options?: RAGSyncRunOptions): Promise<import("@absolutejs/ai").RAGSyncResponse>;
    documents(path: string, kind?: string): Promise<import("@absolutejs/ai").RAGDocumentsResponse>;
    documentChunks(path: string, id: string): Promise<import("@absolutejs/ai").RAGDocumentChunksResponse>;
    createDocument(path: string, input: RAGDocumentIngestInput["documents"][number]): Promise<import("@absolutejs/ai").RAGMutationResponse>;
    deleteDocument(path: string, id: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
    reseed(path: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
    reset(path: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
    reindexDocument(path: string, id: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
    reindexSource(path: string, source: string): Promise<import("@absolutejs/ai").RAGMutationResponse>;
    backends(path: string): Promise<import("@absolutejs/ai").RAGBackendsResponse>;
    clearIndex(path: string): Promise<{
        ok: boolean;
    }>;
}
