import assert from "node:assert/strict";
import { describe, it } from 'vitest';
import {
	AssistantMessageEventStream,
	createAssistantMessageEventStream,
} from "@singularity-forge/pi-ai";

describe("@singularity-forge/pi-ai event stream exports", () => {
	it("exports createAssistantMessageEventStream for package consumers", () => {
		assert.equal(typeof createAssistantMessageEventStream, "function");
		const stream = createAssistantMessageEventStream();
		assert.ok(stream instanceof AssistantMessageEventStream);
	});
});
