import { type BijouContext, type Surface } from '@flyingrobots/bijou'; import { type App, type ScriptStep } from '@flyingrobots/bijou-tui'; export interface NativeDemoSpec { name: string; app: App; steps: ScriptStep[]; outputPath: string; ctx?: BijouContext; css?: string; frameDelayMs?: number; cellWidth?: number; cellHeight?: number; foreground?: string; background?: string; } export interface RecorderResult { outputPath: string; frames: number; width: number; height: number; } export interface SurfaceGifOptions { outputPath: string; frames: Surface[]; frameDelayMs?: number; cellWidth?: number; cellHeight?: number; foreground?: string; background?: string; } interface RasterizeOptions { cellWidth: number; cellHeight: number; foreground: string; background: string; } export declare function recordDemoGif(spec: NativeDemoSpec): Promise; export declare function writeSurfaceGif(options: SurfaceGifOptions): RecorderResult; export declare function rasterizeSurface(surface: Surface, options?: Partial): Uint8Array; export {}; //# sourceMappingURL=recorder.d.ts.map