interface OnnxWasmPaths { 'ort-wasm.wasm'?: string; 'ort-wasm-threaded.wasm'?: string; 'ort-wasm-simd.wasm'?: string; 'ort-wasm-simd-threaded.wasm'?: string; } interface OnnxOptions { debug?: boolean; proxy?: boolean; wasmPaths?: OnnxWasmPaths; } type ImageSource = string | URL | ImageBitmapSource | BufferSource; interface RemoveBackgroundOptions extends OnnxOptions { model?: BufferSource | string | URL; resolution?: number; output?: 'foreground' | 'mask' | 'background'; } declare function removeBackground(imageSource: ImageSource, options?: RemoveBackgroundOptions): Promise; export { type RemoveBackgroundOptions, removeBackground };