import { Size } from '../math'; import type { Surface } from '../surface'; import type { LayerTree } from './layer-tree'; export type RasterizerOptions = { surface: Surface; }; export declare class Rasterizer { private readonly surface; private readonly context; constructor({ surface, }: RasterizerOptions); draw(layerTree: LayerTree, frameSize: Size): void; }