import { CanvasDraw } from '../types/canvas-shape.js'; /** * Hook to attach and handle a canvas shape. * @param shape - Name of the shape to attach. * @param draw - Function to draw the shape. */ export declare function useCanvas(shape: string, draw: CanvasDraw): void;