import { type Clockable } from '@johngw/timeline/Clock'; import { type ParsedTimelineItemValue, Timeline } from '@johngw/timeline/Timeline'; export interface ExpectTimelineOptions { clock?: Clockable; queuingStrategy?: QueuingStrategy; } /** * Calls an expectation function to compare a timeline against chunks. * * @see [timeline docs](/stream/timelines) * @see {@link fromTimeline:function} * @group Sinks * @example * ``` * fromTimeline(` * --1--2--3--4-- * `) * .pipeTo(expectTimeline( * ` * --1--2--3--4-- * `, * (expectation, chunk) => * expect(chunk).toBe(expectation) * )) * ``` */ export declare function expectTimeline(timelineString: string, testExcpectation: (timelineValue: T, chunk: unknown, timeline: Timeline) => void | Promise, options?: ExpectTimelineOptions): import("node:stream/web").WritableStream; //# sourceMappingURL=expectTimeline.d.ts.map