import { App } from "../../App"; import { Subscription } from "../../App/getSubscriptions"; import { Board } from "microboard-temp"; import * as React from "react"; import { WithRouterProps } from "../../shared/lib/withRouter"; export interface Props extends WithRouterProps { app: App; board: Board; children?: React.ReactNode; } export declare class CanvasBase extends React.Component { stageRef: any; canvasRef: any; cursorsCanvasRef: any; options: { pointerdown: {}; pointerup: {}; click: {}; }; updateCursor: () => void; renderToContext: () => void; initCanvasRendering: () => void; componentDidUpdate(prevProps: Readonly): void; componentDidMount(): void; componentWillUnmount(): void; drawingContextSubscription: Subscription; cursorSubscription: Subscription; resizeSubscription: Subscription; render(): React.ReactElement; } export declare const Canvas: (props: any) => any;