import { Container } from 'pixi.js'; /** * Copies everything a display object component exposes (transform, visibility, z-index, tint, * opacity, name) from `source` to `target`, and gives `target` its own deep copy of each of `source`'s * children. */ export declare function copyContainerState(source: Container, target: Container): void; /** * Deep copy of a native display object and everything nested in it. pixi.js has no generic * `Container.clone()`, so this covers the kinds of object this package's factory and components * build: `Graphics`, `Sprite`, `AnimatedSprite`, `Text` and plain `Container`. Textures are shared * with the source, everything else is independent of it - destroying the copy leaves the source * intact and vice versa. */ export declare function cloneContainer(source: T): T;