import * as SDK from '../../core/sdk/sdk.js'; import * as Protocol from '../../generated/protocol.js'; import { type LayerPaintEvent } from './TimelineFrameModel.js'; export declare class TracingLayerTree extends SDK.LayerTreeBase.LayerTreeBase { private tileById; private paintProfilerModel; constructor(target: SDK.Target.Target | null); setLayers(root: TracingLayerPayload | null, layers: TracingLayerPayload[] | null, paints: LayerPaintEvent[]): Promise; setTiles(tiles: TracingLayerTile[]): void; pictureForRasterTile(tileId: string): Promise; private setPaints; private innerSetLayers; private extractNodeIdsToResolve; } export declare class TracingLayer implements SDK.LayerTreeBase.Layer { private parentLayerId; private parentInternal; private layerId; private nodeInternal; private offsetXInternal; private offsetYInternal; private widthInternal; private heightInternal; private childrenInternal; private quadInternal; private scrollRectsInternal; private gpuMemoryUsageInternal; private paints; private compositingReasonIds; private drawsContentInternal; private paintProfilerModel; constructor(paintProfilerModel: SDK.PaintProfiler.PaintProfilerModel | null, payload: TracingLayerPayload); reset(payload: TracingLayerPayload): void; id(): string; parentId(): string | null; parent(): SDK.LayerTreeBase.Layer | null; isRoot(): boolean; children(): SDK.LayerTreeBase.Layer[]; addChild(childParam: SDK.LayerTreeBase.Layer): void; setNode(node: SDK.DOMModel.DOMNode | null): void; node(): SDK.DOMModel.DOMNode | null; nodeForSelfOrAncestor(): SDK.DOMModel.DOMNode | null; offsetX(): number; offsetY(): number; width(): number; height(): number; transform(): number[] | null; quad(): number[]; anchorPoint(): number[]; invisible(): boolean; paintCount(): number; lastPaintRect(): Protocol.DOM.Rect | null; scrollRects(): Protocol.LayerTree.ScrollRect[]; stickyPositionConstraint(): SDK.LayerTreeBase.StickyPositionConstraint | null; gpuMemoryUsage(): number; snapshots(): Promise[]; pictureForRect(targetRect: number[]): Promise; private scrollRectsFromParams; private createScrollRects; addPaintEvent(paint: LayerPaintEvent): void; requestCompositingReasonIds(): Promise; drawsContent(): boolean; } export interface TracingLayerPayload { bounds: { height: number; width: number; }; children: TracingLayerPayload[]; layer_id: number; position: number[]; scroll_offset: number[]; layer_quad: number[]; draws_content: number; gpu_memory_usage: number; transform: number[]; owner_node: Protocol.DOM.BackendNodeId; reasons: string[]; compositing_reason: string[]; compositing_reason_ids: string[]; debug_info: { compositing_reason_ids: string[]; }; non_fast_scrollable_region: number[]; touch_event_handler_region: number[]; wheel_event_handler_region: number[]; scroll_event_handler_region: number[]; } export interface TracingLayerTile { id: string; layer_id: string; gpu_memory_usage: number; content_rect: number[]; }