import type { MunaClient } from "../client"; import type { Prediction } from "../types"; import type { CreatePredictionInput, DeletePredictionInput } from "./prediction"; export declare class LocalWorkerPredictionService { private proxy; private ready; 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; }