import React from 'react'; export interface TouchRipplePropsType { center: boolean; } export interface TouchRippleStateType { nextKey: number; ripples: string[]; } export declare const DELAY_RIPPLE = 80; interface RippleOptions { pulsate?: boolean; center?: string; fakeElement?: boolean; timeout?: number; } /** * @ignore - internal component. */ declare class TouchRipple extends React.Component { private static defaultProps; state: { nextKey: number; ripples: any[]; }; componentWillUnmount(): void; private ignoringMouseDown; private startTimer; private startTimerCommit; /** * 有规律地摆动墨水扩散效果 */ pulsate: () => void; /** * 开始墨水扩散效果 */ start: (event: React.KeyboardEvent | React.MouseEvent | React.TouchEvent, options?: RippleOptions, cb?: (params: string[]) => void) => void; /** * 提交墨水扩散效果 */ private startCommit; /** * 停止墨水扩散效果 */ stop: (event: any, cb: any) => void; render(): JSX.Element; } export default TouchRipple;