import { GeneratePredictionRequest, BatchGeneratePredictionRequest, PredictionGenerationResult, BatchPredictionResult } from '../types/prediction-types.js'; /** * Label Studio AI Prediction Service * * Integrates AI inference with Label Studio prediction system * Uses ai-inference module for pure AI operations */ export declare class LabelStudioAIPredictionService { /** * Generate Label Studio prediction for a task * Runs AI model and creates prediction in Label Studio */ generatePrediction(input: GeneratePredictionRequest, context: ResolverContext): Promise; /** * Generate predictions for multiple tasks in batch */ generateBatchPredictions(input: BatchGeneratePredictionRequest, context: ResolverContext): Promise; /** * Auto-generate predictions for all unlabeled tasks in a project */ autoGeneratePredictions(projectId: number, modelId: string, confidenceThreshold: number, context: ResolverContext): Promise; /** * Convert AI detection results to Label Studio format * This handles the Label Studio-specific data structure */ private convertToLabelStudioFormat; }