import React from 'react'; import { FiberRoot } from 'react-reconciler'; export declare type PaperScopeSettings = { insertItems?: boolean; applyMatrix?: boolean; handleSize?: number; hitTolerance?: number; }; export declare type CanvasProps = React.ComponentProps<'canvas'> & { width: number; height: number; settings?: PaperScopeSettings; scope?: paper.PaperScope; onScopeReady?: (scope: paper.PaperScope) => void; }; export declare type CanvasRef = HTMLCanvasElement | null; export declare type ScopeRef = paper.PaperScope | null | undefined; export declare type FiberRef = FiberRoot | null; export declare const Canvas: React.ForwardRefExoticComponent> & React.RefAttributes>; //# sourceMappingURL=Canvas.d.ts.map