/// import * as React from "react"; import { IParticleStyle } from "./model"; export interface IProps { style: { width: number; height: number; backgroundColor?: string; }; /** The default values for the particle style in each edge */ particleStyle?: IParticleStyle; defaultRatePerSecond?: number; children?: any; run?: boolean; } export interface IState { } export declare class ParticleCanvas extends React.PureComponent { private canvas; private particles; private edgeState; private setupParticles; componentWillReceiveProps(newProps: IProps): void; shouldComponentUpdate(newProps: IProps, _newState: IState): boolean; componentWillUnmount(): void; private lostContext; private setupNewCanvas; render(): JSX.Element; }