/// <reference types="node" />
export declare function bufFromString(str: string): Buffer;
export declare function emptyBuffer(): Buffer;
export declare function filterArray(arr: any[], filter: number[]): any[];
export declare const trimLeft: (str: string) => string;
export declare const trimRight: (str: string) => string;
