// Generated by typings // Source: https://raw.githubusercontent.com/types/npm-split/900a8ae7efe14cc2196b2a60e9ef2aad85c6f1c2/index.d.ts declare module 'split' { import stream = require('stream') function split (mapper: split.Mapper, _?: void, options?: split.Options): stream.Transform; function split (matcher?: RegExp | string, mapper?: split.Mapper, options?: split.Options): stream.Transform; namespace split { export interface Options { trailing?: boolean; maxLength?: number; } export type Mapper = (line: string) => any; } export = split; }