import { Core, VirtualService } from "../services/VirtualService";
export type VirtualProps = {
    virtualId?: number | string;
    userName?: string;
    virtualName?: string;
    initAccessToken: (virtualId: number | string, forceRefetchToken?: boolean, metadata?: {
        [id: string]: any;
    }) => Promise<string>;
    onPromptError?: (error: any) => void;
    onLoadError?: (error: any) => void;
    metadata?: {
        [id: string]: any;
    };
    onInitCompleted?: (cores: Core[]) => void;
};
export declare const useVirtual: ({ virtualId, userName, virtualName, initAccessToken, onPromptError, onLoadError, metadata, onInitCompleted, }: VirtualProps) => {
    runnerUrl: string;
    modelUrl: string;
    virtualService: VirtualService | undefined;
    cores: string[];
};
