export type Offer = { direct_port_count: number; disk_bw: number; disk_space: number; dlperf_per_dphtotal: number; end_date: number; geolocation: string; gpu_name: string; gpu_ram: number; id: number; inet_down: number; reliability: number; search: { gpuCostPerHour: number; diskHour: number; totalHour: number; }; storage_cost: number; }; export type Offers = { offers: Offer[]; }; export declare enum RunType { SSH = "ssh", Jupyter = "jupyter", Args = "args" } export type ModuleDependencies = Partial>; export type Module = { description: string; files: ModuleDependencies; gated?: boolean; minVram?: number; name: string; template: string; fileSizes: Map; totalSize: number; }; export type Template = { description?: string; environment?: Record; fileTypes: string[]; hash?: string; id?: string; name: string; runType?: RunType; script?: string; size: number; tag?: string; }; export type CreateInstanceRequest = { cancel_unavail: boolean; disk: number; extra_env: Record; image?: string; label?: string; runtype?: RunType; target_state: 'running'; template_hash_id?: string; vm: boolean; }; export type CreateInstanceResponse = { error?: string; msg?: string; new_contract?: number; success: boolean; }; export type PortMapping = { HostIp: string; HostPort: string; }; export type Instance = { actual_status: string | null; cur_state: string; dph_total: number; geolocation?: string; gpu_name: string; id: number; intended_status: string; jupyter_token?: string; label: string | null; num_gpus: number; ports?: Record; public_ipaddr?: string; start_date?: number; status_msg?: string | null; }; export type ListOptions = { all?: boolean; }; export type StartOptions = { wait: boolean; }; export type DestroyOptions = { yes?: boolean; }; export type ProvisionOptions = { excludeRtx50: boolean; maxHourlyCost: number; maxPorts: number; minInetDown: number; minReliability: number; minVram: number; numGpus: number; region?: string[]; template?: string; }; export type OfferRequirements = { diskGb: number; minVramGb: number; };