/** * Utility function to check if the code is running in a Node.js environment * @returns boolean indicating if the environment is Node.js */ export declare function isNodeEnvironment(): boolean; /** * Get the appropriate device for transformers.js based on the current environment * @returns 'cpu' for Node.js environment, 'wasm' or 'webgpu' for browser environment */ export declare function getTransformersDevice(defaultDevice?: 'wasm' | 'webgpu'): string;