import type { MaskBrushPreviewOptions } from "#editing/mask-brush-editor"; import type { CanvasSource as PixiCanvasSource, Container as PixiContainer, Graphics as PixiGraphics, Sprite as PixiSprite, Texture as PixiTexture } from "pixi.js"; export interface PixiMaskBrushPreview { readonly display: PixiContainer; setViewportScale(scale: number): void; destroy(): void; } export declare function createPixiMaskBrushPreview(options: { readonly preview: MaskBrushPreviewOptions; readonly onInvalidate?: () => void; readonly CanvasSource: new (options: { dynamic: boolean; height: number; resource: HTMLCanvasElement; width: number; }) => PixiCanvasSource; readonly Container: new () => PixiContainer; readonly Graphics: new () => PixiGraphics; readonly Sprite: new (options: { texture: PixiTexture; }) => PixiSprite; readonly Texture: new (options: { dynamic: boolean; source: PixiCanvasSource; }) => PixiTexture; }): PixiMaskBrushPreview; //# sourceMappingURL=pixi-mask-brush-preview.d.ts.map