import { PredictionResponse, PredictionState } from "./convertPrediction"; import { ReplicateRequestOptions } from "./makeApiRequest"; /** List does not return full predictions. This is the type for those response elements */ export type ShallowPredictionResponse = Pick; /** Status of a prediction without the actual results * * You can use `.get()` to get the full `PredictionState`. */ export type ShallowPredictionState = Pick; /** Convert prediction list entries from replicate to a more idiomatic TypeScript object. * * Also adds `get()`, `cancel()` and `poll()` methods. */ export declare const convertShallowPrediction: (options: ReplicateRequestOptions, prediction: ShallowPredictionResponse) => ShallowPredictionState;