import { type DuplexWithDebug, type TransformMethod, type TransformLike } from './queue.js';
export * from './queue.js';
export declare const transform: <ChunkType = any>(transform: TransformMethod<ChunkType>, end?: (this: TransformLike<ChunkType>) => void | Promise<void>) => DuplexWithDebug;
/**
 * Shortcut to create a passthrough with spy.
 */
export declare const passthrough: <ChunkType = any>(spy?: (this: TransformLike<ChunkType>, chunk: ChunkType) => Promise<void> | void, end?: (this: TransformLike<ChunkType>) => void | Promise<void>) => DuplexWithDebug;
/**
 * Create a filter stream.
 */
export declare const filter: <ChunkType = any>(filter: (chunk: ChunkType) => boolean | Promise<boolean>, end?: (this: TransformLike<ChunkType>) => void) => DuplexWithDebug;
