import "vitest-canvas-mock"; /** * Sets up a mock implementation for HTML Canvas API in testing environments. * * This function uses vitest-canvas-mock to provide a mock implementation of the * HTML Canvas API, allowing tests to run without requiring a real DOM canvas. * Useful for testing components that use canvas rendering. * * Importing vitest-canvas-mock at module load time has the side effect of * patching HTMLCanvasElement.prototype.getContext globally; calling this * function is a no-op kept for API compatibility with the previous Jest * setup. * * @example * import { setupCanvasMock } from '@trackunit/react-vite-test-setup'; * * setupCanvasMock(); */ export declare const setupCanvasMock: () => void;