import type { GhosttySnapshot, GhosttyTerminalLike } from "@slopus/ghostty-web"; export declare class GhosttyWebTerminal implements GhosttyTerminalLike { #private; private constructor(); static create(options: { cols: number; maxScrollback: number; rows: number; }): Promise; close(): void; historyRevision(): number; onPtyWrite(handler: (data: string) => void): () => void; resize(cols: number, rows: number): void; snapshot(): GhosttySnapshot; snapshotPage(start: number, count: number): GhosttySnapshot; writeBytes(data: Uint8Array): void; }