import type { Component } from "../../runtime/component.ts"; export interface TimelineFrame { readonly atMs: number; readonly lines: readonly string[]; } export interface TimelineAnimationOptions { readonly frames: readonly TimelineFrame[]; readonly align?: "top" | "bottom" | "center"; readonly horizontalAlign?: "left" | "center" | "right"; readonly style?: (text: string) => string; } /** Time-indexed text animation component for terminal-native intros and loaders. */ export declare class TimelineAnimation implements Component { private readonly options; private readonly frames; constructor(options: TimelineAnimationOptions); get durationMs(): number; frameAt(elapsedMs: number): readonly string[]; nextFrameDelay(elapsedMs: number): number | undefined; render(width: number, height?: number, elapsedMs?: number): string[]; } //# sourceMappingURL=timeline.d.ts.map