import { Canvas } from '@antv/f-engine'; import { createCanvas, CanvasProps } from './createCanvas'; export { createCanvas, CanvasProps }; declare const _default: { new (props: CanvasProps): { canvasRef: import("react").RefObject; canvas: Canvas; parentNode: { width: number; height: number; }; observer: ResizeObserver; catchError(error: any): void; getProps: () => import("@antv/f-engine").CanvasProps; componentDidMount(): void; observeElement(): void; resize(): void; componentDidUpdate(): void; render(): JSX.Element; componentWillUnmount(): void; destroy(): void; context: any; setState(state: import("./createCanvas").CanvasState | ((prevState: Readonly, props: Readonly) => import("./createCanvas").CanvasState | Pick) | Pick, callback?: () => void): void; forceUpdate(callback?: () => void): void; readonly props: Readonly & Readonly<{ children?: import("react").ReactNode; }>; state: Readonly; refs: { [key: string]: import("react").ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; }; contextType?: import("react").Context; }; export default _default;