import type { GpuProbe } from "./platform.js"; /** What the caller asks for. */ export type DevicePreference = "auto" | "webgpu" | "wasm"; /** What VoxShot actually runs on after probing the environment. */ export type ResolvedDevice = "webgpu" | "wasm"; /** * Decide which backend to run inference on. * * - `auto` (default): WebGPU when present, WASM otherwise. * - `webgpu`: WebGPU or a {@link DeviceUnavailableError}; never silently slow. * - `wasm`: WASM without probing the GPU at all. */ export declare function resolveDevice(preference: DevicePreference | undefined, gpu: GpuProbe): Promise; //# sourceMappingURL=device.d.ts.map