/** * Items drawn together in one call, in paint order. A change of blend or of * `key` closes the run, since a blend belongs to the pipeline and a key to * whatever else the draw shares. So does an item whose blend needs the * backdrop, which meets the frame on its own the way canvas composites it. */ export declare class DrawRun { private readonly opaqueBackdrop; private readonly draw; private items; private blend; private key; constructor(opaqueBackdrop: boolean, draw: (items: T[], blend: string) => void); add(item: T, blend: string, key?: unknown): void; flush(): void; }