import xtermHeadless from '@xterm/headless';
type Terminal = InstanceType<typeof xtermHeadless.Terminal>;
export interface CaptureOpts {
    cols: number;
    rows: number;
    startY: number;
}
/** Capture a section of the terminal buffer to a PNG buffer. */
export declare function captureToPng(terminal: Terminal, opts: CaptureOpts): Buffer;
export {};
//# sourceMappingURL=screenshot-renderer.d.ts.map