import type { Container, Rectangle } from "pixi.js"; /** The visible canvas in media coordinates, with a top-left origin. */ export interface PixiViewportBounds { readonly x: number; readonly y: number; readonly width: number; readonly height: number; } export type PixiRectangleConstructor = new (x?: number, y?: number, width?: number, height?: number) => Rectangle; type BoundedDisplay = { boundsArea?: Rectangle; }; export declare function setPixiViewportBounds(display: BoundedDisplay, bounds: PixiViewportBounds, viewport: PixiViewportBounds | undefined, Rectangle: PixiRectangleConstructor): void; /** * AlphaMask allocates from its mask's full bounds, including geometry outside * the canvas. A neutral parent clips that allocation without changing a * rotated or mirrored child's geometry or texture coordinates. */ export declare function syncPixiMaskViewportBounds(container: Pick & BoundedDisplay, viewport: PixiViewportBounds | undefined, Rectangle: PixiRectangleConstructor): void; export {}; //# sourceMappingURL=pixi-mask-viewport.d.ts.map