import type { MunaClient } from "../client"; import type { Acceleration, Prediction, Value } from "../types"; export interface CreatePredictionInput { /** * Predictor tag. */ tag: string; /** * Input values. */ inputs?: Record; /** * Prediction acceleration. */ acceleration?: Acceleration; /** * Muna client identifier. * Specify this to override the current client identifier. */ clientId?: string; /** * Configuration identifier. * Specify this to override the current client configuration identifier. */ configurationId?: string; } export interface DeletePredictionInput { /** * Predictor tag. */ tag: string; } export declare class PredictionService { private readonly local; private readonly remote; constructor(client: MunaClient); /** * Create a prediction. * @param input Prediction input. * @returns Prediction. */ create(input: CreatePredictionInput): Promise; /** * Create a streaming prediction. * @param input Prediction input. * @returns Prediction stream. */ stream(input: CreatePredictionInput): AsyncGenerator; /** * Delete a predictor that is loaded in memory. * @param input Input arguments. * @returns Whether the predictor was successfully deleted from memory. */ delete(input: DeletePredictionInput): Promise; }