import type { ExcalidrawImageElement, FileId, InitializedExcalidrawImageElement, NonDeleted } from "@excalidraw/element/types"; import type App from "./App"; export declare class AppGifPlayback { private app; private playbackRaf; private runtimeState; constructor(app: App); stop: () => void; getFrameIndex: (element: ExcalidrawImageElement) => number | undefined; setFrameIndex: (element: ExcalidrawImageElement, frameIndex: number) => void; ensureLoop: () => void; createPlaceholderDecodeState: (placeholderImageElement: ExcalidrawImageElement, imageFile: File) => FileId | null; ensureElementPlaybackMetadata: (element: NonDeleted, opts?: { playing?: boolean; }) => NonDeleted; removePlaceholderDecodeState: (placeholderGifFileId: FileId | null) => void; private tick; }