export declare class ChartGPUContext { /** * Get the shared GPUDevice — injected or singleton. * First call triggers async adapter/device negotiation if no device * has been injected. Subsequent calls return synchronously via cache. */ static getShared(): Promise; /** * Inject an external GPUDevice (e.g. from brainiac-engine). * Must be called before any chart renders. Replaces the singleton * if one was already created. */ static setDevice(device: GPUDevice): void; /** * Release the shared device and reset state. * Does NOT destroy an injected device (the caller owns its lifecycle). */ static destroy(): void; /** Whether a device is available without triggering async creation. */ static hasDevice(): boolean; private static _createDevice; }