import { Container } from "@thegraid/easeljs-module"; export type NamedObject = { name?: string; Aname?: string; }; /** * Container with a name, you can set x,y in constructor. * * Includes setBoundsNull() -> setBounds(null, 0, 0, 0) */ export declare class NamedContainer extends Container implements NamedObject { Aname: string; constructor(Aname?: string, cx?: number, cy?: number); /** * Set bounds(null, 0, 0, 0) to remove saved bounds. * * @types/createjs.d.ts does not include the (null, 0, 0, 0) signature * * Note: use setBounds(undefined, 0, 0, 0) for RectShape to calcBounds() with borders. */ setBoundsNull(): void; /** re-cache Container when children have changed size or visibility. * * uncache(), setBoundsNull(), setBounds(getBounds), maybe cache(scale) */ reCache(scale?: number): void; }