import { CompositorFrame } from './compositor-context'; import { ContainerLayer } from './layer'; export type LayerTreeOptions = { rootLayer: ContainerLayer; }; export declare class LayerTree { readonly rootLayer: ContainerLayer; constructor({ rootLayer, }: LayerTreeOptions); preroll(frame: CompositorFrame): void; paint(frame: CompositorFrame): void; }