/// <reference types="node" />
/**
 * Verifies that the given encoding is a valid BufferEncoding.
 * @throws in case the encoding is unsupported.
 */
export declare function encodingParser(encoding: string): BufferEncoding;
