import { type ParsedTimelineItemValue } from '@johngw/timeline/Timeline'; import type { Clockable } from '@johngw/timeline/Clock'; export interface FromTimelineOptions { clock?: Clockable; queuingStrategy?: QueuingStrategy; } /** * Creates a ReadableStream from a "timeline". * * @see [timeline docs](/stream/timelines) * @see {@link expectTimeline:function} * @group Sources * @example * ``` * fromTimeline('--1--2--3--4--') * .pipeTo(write(console.info)) * // 1 * // 2 * // 3 * // 4 * ``` * * Each dash is considered a timeout of 1ms. * * ``` * merge([ * fromTimeline('--1---2---3---4--'), * fromTimeline('----a---b---c----'), * ]) * .pipeTo(write(console.info)) * // 1 * // a * // 2 * // b * // 3 * // c * // 4 * ``` */ export declare function fromTimeline(timelineString: string, options?: FromTimelineOptions): ReadableStream; //# sourceMappingURL=fromTimeline.d.ts.map