/**
* Self-contained HTML player for asciicast v2 recordings.
*
* Inlines the cast events as JSON in the document — the player has no
* runtime dependencies, works offline, opens anywhere a browser does.
*
* UX: play/pause, 0.1×–4× speed control, seek bar, ANSI colour rendering.
* Carriage returns (\r) reposition the cursor to column 0 of the current
* line so progress bars overwrite cleanly. Form-feeds (\f) and bare
* cursor escapes are dropped — this is a flat scrollback, not a TUI grid.
*
* Rendering uses createElement + textContent (NOT innerHTML) — every
* character from the recorded stream lands as a text node, never as
* markup. Inline style attrs are built from a hardcoded colour palette
* with no user input.
*/
export interface PlayerOptions {
castPath: string;
/** Title shown in the player header; defaults to the filename. */
title?: string;
/** Output HTML path. Defaults to `.html`. */
outputPath?: string;
}
export declare function generatePlayer(options: PlayerOptions): Promise;
//# sourceMappingURL=player.d.ts.map