import { Component, h } from 'preact'; export declare class BulletInfo { key: number; text: string; channel: number; color: string; fontSize: number; constructor(key: number, text: string, channel: number, color: string, fontSize: number); } export declare class BulletConfig { screenWidth: number; channelHeight: number; totalTime: number; constructor(screenWidth: number, channelHeight: number, totalTime: number); } export declare class BulletItemAnimation extends Component<{ bulletInfo: BulletInfo; bulletConfig: BulletConfig; onItemFree: Function; onChannelFree: Function; }, {}> { private freeChannelTimer; private refText; constructor(props: any); componentDidMount(): void; onAnimationStart: () => void; onAnimationEnd: () => void; setFreeChannelTimer: () => void; freeChannel: () => void; render(): h.JSX.Element; }