export default filter; /** * */ export type Filter = (this: import('barnard59-core').Context, chunk: T, encoding: string, ...args: A) => boolean | Promise; /** * @typedef {(this: import('barnard59-core').Context, chunk: T, encoding: string, ...args: A) => boolean | Promise} Filter * @template T * @template {Array} A */ /** * @template T * @template {Array} A * @this {import('barnard59-core').Context} * @param {Filter} func * @param {A} args * @return {import('stream').Transform} */ declare function filter(this: import("barnard59-core").Context, func: Filter, ...args: A): import('stream').Transform;