import { ControlCommand } from '../ui-control-commands/control-command';
import { Annotation } from '../annotation/annotation';
import { ModelType } from './model-type';
export interface InferenceResponseBody {
    type: ModelType;
    data: ModelType extends 'COMMANDS' ? ControlCommand : Annotation;
}
export interface VQAInferenceResponseBody {
    data: {
        response: string;
    };
}
export declare class InferenceResponse {
    static fromJson(json: InferenceResponseBody, resizeRatio?: number, image?: string): ControlCommand | Annotation;
    static createModels(type: ModelType, data: ModelType extends 'COMMANDS' ? ControlCommand : Annotation, resizeRatio: number, image?: string): ControlCommand | Annotation;
}
