export declare function useAnimation(frameCount: number, intervalMs?: number): number;