export declare function splitBy(v: T[], isSep: (v: T) => boolean): T[][];