import { Feature, Map as OLMap } from 'ol';

/**
 * GIF动画助手类
 * 用于在OpenLayers中处理GIF动画图标
 */
export declare class GifAnimationHelper {
    private static animationFrames;
    private static canvasCache;
    private static overlayElements;
    private static giflerInstances;
    /**
     * 为要素设置动态GIF样式
     */
    static setAnimatedGifStyle(feature: Feature, gifUrl: string, map: OLMap, options?: {
        scale?: number;
        anchor?: [number, number];
        anchorXUnits?: "fraction" | "pixels";
        anchorYUnits?: "fraction" | "pixels";
        opacity?: number;
    }): Promise<void>;
    /** 设置静态图片样式（回退方案） */
    private static setStaticImageStyle;
    /** 更新 GIF canvas 位置 */
    private static updateGifPosition;
    /** 清理单个GIF动画 */
    static clearGifAnimation(featureId: string): void;
    /** 清理所有GIF动画 */
    static clearAllGifAnimations(): void;
}
//# sourceMappingURL=GifAnimationHelper.d.ts.map