import type { Component } from "../../runtime/component.ts"; export interface PlainTranscriptBlock { readonly title?: string; readonly lines: readonly string[]; readonly titleStyle?: (text: string) => string; readonly bodyStyle?: (text: string) => string; readonly spacingAfter?: number; /** Render this block across the full viewport width instead of inside the transcript gutter. */ readonly fullWidth?: boolean; } export interface PlainTranscriptTheme { readonly overflow?: (text: string) => string; } export type PlainTranscriptVerticalAlign = "top" | "bottom"; export interface PlainTranscriptOptions { readonly blocks: readonly PlainTranscriptBlock[]; readonly gutter?: number; readonly theme?: PlainTranscriptTheme; /** Align short transcripts inside the viewport. Cropped transcripts always show the latest lines. */ readonly verticalAlign?: PlainTranscriptVerticalAlign; } export declare class PlainTranscript implements Component { private readonly options; constructor(options: PlainTranscriptOptions); render(width: number, height?: number): string[]; } //# sourceMappingURL=plain.d.ts.map