import type { CoreCanvas, PlatformProvider } from "./platform.js"; /** * Node.js implementation of PlatformProvider. * Uses onnxruntime-node, ppu-ocv, and filesystem for resource management. */ export declare class NodePlatformProvider implements PlatformProvider { readonly ort: PlatformProvider["ort"]; createCanvas(width: number, height: number): CoreCanvas; prepareCanvas(image: ArrayBuffer): Promise; loadResource(source: string | ArrayBuffer | undefined, defaultUrl: string): Promise; private _runtimeInitialized; initRuntime(): Promise; /** * Fetches a resource from a URL and caches it locally * @param url - URL to fetch the resource from * @returns ArrayBuffer containing the resource data */ private fetchAndCache; } /** Singleton default Node.js platform provider */ export declare const defaultNodePlatform: NodePlatformProvider;