import { OptimizedBuffer } from "./buffer.js";
import type { Renderable, RootRenderable } from "./Renderable.js";
import type { WidthMethod } from "./types.js";
export type RenderToBufferClip = "self" | "content";
export interface RenderToBufferOptions {
    renderable: Renderable;
    clip?: RenderToBufferClip;
}
export interface RenderToBufferRenderer {
    root: RootRenderable;
    width: number;
    height: number;
    widthMethod: WidthMethod;
}
export declare function renderToBuffer(renderer: RenderToBufferRenderer, options: RenderToBufferOptions, deltaTime?: number): OptimizedBuffer;
