详细说明: - 添加了V2版本的工作流页面和结果页面 - 更新了Serena记忆文件 - 添加了详细实施计划文档 - 优化了Vite配置 - 更新了项目文档CLAUDE.md - 构建了演示系统的dist版本 - 包含了exhibition-demo的完整依赖
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
/**
|
|
* Create a duplex (readable and writable) stream.
|
|
*
|
|
* Some of the work to parse markdown can be done streaming, but in the
|
|
* end buffering is required.
|
|
*
|
|
* micromark does not handle errors for you, so you must handle errors on whatever
|
|
* streams you pipe into it.
|
|
* As markdown does not know errors, `micromark` itself does not emit errors.
|
|
*
|
|
* @param {Options | null | undefined} [options]
|
|
* Configuration (optional).
|
|
* @returns {MinimalDuplex}
|
|
* Duplex stream.
|
|
*/
|
|
export function stream(options?: Options | null | undefined): MinimalDuplex;
|
|
export type Options = import("micromark-util-types").Options;
|
|
/**
|
|
* Function called when write was successful.
|
|
*/
|
|
export type Callback = () => undefined;
|
|
/**
|
|
* Configuration for piping.
|
|
*/
|
|
export type PipeOptions = {
|
|
/**
|
|
* Whether to end the destination stream when the source stream ends.
|
|
*/
|
|
end?: boolean | null | undefined;
|
|
};
|
|
/**
|
|
* Duplex stream.
|
|
*/
|
|
export type MinimalDuplex = Omit<NodeJS.ReadableStream & NodeJS.WritableStream, "isPaused" | "pause" | "read" | "resume" | "setEncoding" | "unpipe" | "unshift" | "wrap">;
|
|
//# sourceMappingURL=stream.d.ts.map
|