/** * Compatibility Layer for Node.js 0.8+ * Local to this package - contains only needed functions. */ export declare const Readable: typeof import('stream').Readable; export declare const Writable: typeof import('stream').Writable; export declare const Transform: typeof import('stream').Transform; export declare const PassThrough: typeof import('stream').PassThrough; export declare function stringEndsWith(str: string, search: string, position?: number): boolean; export declare function arrayFind(arr: T[], predicate: (item: T, index: number, arr: T[]) => boolean): T | undefined;