import { type BufferedDetectionTimeline, type Detection, type AnnotationStyleContext, type KeypointDrawInstruction, type KeypointStyle, type PolygonStyle, type PolylineStyle, type ShapeDrawInstruction, type ShapeStyle } from "supervision-js-core"; import type { Container as PixiContainer, Graphics as PixiGraphics } from "pixi.js"; export interface PixiVectorLayer { createContainer(): PixiContainer; drawFrame(mediaTime: number, viewportScale?: number): void; invalidateDetection(id: string | number): void; translateDetection(id: string | number, x: number, y: number): boolean; setStyles(styles: { polygonStyle?: PolygonStyle | null; polylineStyle?: PolylineStyle | null; keypointStyle?: KeypointStyle | null; shapeStyle?: ShapeStyle | null; }): void; destroy(): void; } export declare function createPixiVectorLayer(options: { readonly Container: new () => PixiContainer; readonly container?: PixiContainer; /** Ordered rendering retains each frame detection independently of its public ID. */ readonly retainByIndex?: boolean; readonly Graphics: new () => PixiGraphics; readonly detectionTimeline: BufferedDetectionTimeline; readonly polygonStyle?: PolygonStyle | null; readonly polylineStyle?: PolylineStyle | null; readonly keypointStyle?: KeypointStyle | null; readonly shapeStyle?: ShapeStyle | null; readonly resolveContextState?: (detection: Detection) => Partial; }): PixiVectorLayer; export declare function drawPixiKeypointInstruction(graphics: PixiGraphics, instruction: KeypointDrawInstruction, viewportScale: number): void; export declare function drawPixiShapeInstruction(graphics: PixiGraphics, instruction: ShapeDrawInstruction, viewportScale: number): void; //# sourceMappingURL=pixi-vector-layer.d.ts.map