import type { BufferedDetectionTimeline, Detection, DetectionFrame, HeatmapAnnotationRenderer } from "supervision-js-core"; import type { CanvasSource as PixiCanvasSource, Container as PixiContainer, ImageSource as PixiImageSource, Sprite as PixiSprite, Texture as PixiTexture } from "pixi.js"; import { type HeatmapFramePreparer } from "#render-preparation/heatmap-frame-preparer"; import type { RenderPreparationOptions } from "#types/render-preparation"; import type { PixiFocusHeatmapArtifact } from "./pixi-focus-layer"; export declare function createPixiHeatmapLayer(options: { readonly CanvasSource: new (options: { resource: HTMLCanvasElement; width: number; height: number; }) => PixiCanvasSource; readonly ImageSource?: new (options: { dynamic: boolean; resource: ImageBitmap; width: number; height: number; }) => PixiImageSource; readonly Container: new () => PixiContainer; readonly Sprite: new (options: { texture: PixiTexture; }) => PixiSprite; readonly Texture: new (options: { source: PixiCanvasSource | PixiImageSource; }) => PixiTexture; readonly detectionTimeline: BufferedDetectionTimeline; readonly isVisible: (detection: Detection) => boolean; readonly onPreparedWindowChange?: () => void; readonly onTextureRelease?: (texture: PixiTexture) => void; readonly prepareTexture?: (texture: PixiTexture) => Promise; readonly preparer?: HeatmapFramePreparer; readonly preparerFactory?: () => HeatmapFramePreparer; readonly renderPreparation?: RenderPreparationOptions; readonly renderers: readonly HeatmapAnnotationRenderer[]; }): { createContainer: () => PixiContainer; getActiveFocusArtifacts(frame: DetectionFrame | undefined): readonly PixiFocusHeatmapArtifact[]; setRenderers(next: readonly HeatmapAnnotationRenderer[]): void; invalidate(): void; isArtifactPrepared(mediaTime: number): boolean; prepareFrame(mediaTime: number): void; translateDetection(id: string | number, dx: number, dy: number): boolean; drawFrame(mediaTime: number): void; destroy(): void; }; //# sourceMappingURL=pixi-heatmap-layer.d.ts.map