import * as React from 'react'; import { Shape, TYPE_SHAPE, ShapeRender } from '../interface'; import { FramerInfo } from '../hooks/useFramer'; import { CUBIC_NUMBER } from '../utils/cubicUtil'; export interface HiTuRefObject { triggerMotion: (play?: boolean) => void; getFramerInfo: () => FramerInfo; setFrame: (frame: number) => void; } export interface HiTuProps { width: number; height: number; shapes?: Shape[]; style?: React.CSSProperties; className?: string; debug?: boolean; frames?: number; defaultPlay?: boolean; defaultFrame?: number; loop?: boolean; shapeRender?: ShapeRender; onPlay?: (play: boolean) => void; onFrame?: (frame: number) => void; } declare const HiTu: React.ForwardRefExoticComponent>; export declare type HiTu = typeof HiTu & { TYPE_SHAPE: typeof TYPE_SHAPE; CUBIC_EASE: CUBIC_NUMBER; CUBIC_EASE_IN: CUBIC_NUMBER; CUBIC_EASE_IN_OUT: CUBIC_NUMBER; CUBIC_EASE_OUT: CUBIC_NUMBER; }; declare const ExportHiTu: HiTu; export default ExportHiTu;