export { default as Client } from './client/index.js';
export * as Errors from './errors.js';
export { default as TDF } from './tdf.js';
export { version, clientType } from './version.js';
import { MockStream } from './utils/mock-stream.js';
/**
 * Creates a mocked stream which mimicks a Node stream (tdf3-js's stream implementation) to be used
 * when options are limited via a browser. It provides the library with all necessary callbacks and
 * emitters it expects, but loads the entire file data into memory before processing each chunk of data
 * separately.
 * @param streamContent The content to use for a read stream
 * @returns a new mock stream, with a subset of the listener methods available.
 */
export function createMockStream(streamContent) {
    return new MockStream(streamContent);
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi90ZGYzL3NyYy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsT0FBTyxJQUFJLE1BQU0sRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ25ELE9BQU8sS0FBSyxNQUFNLE1BQU0sVUFBVSxDQUFDO0FBQ25DLE9BQU8sRUFBRSxPQUFPLElBQUksR0FBRyxFQUFFLE1BQU0sT0FBTyxDQUFDO0FBQ3ZDLE9BQU8sRUFBRSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ2hELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUVqRDs7Ozs7OztHQU9HO0FBQ0gsTUFBTSxVQUFVLGdCQUFnQixDQUFDLGFBQTBCO0lBQ3pELE9BQU8sSUFBSSxVQUFVLENBQUMsYUFBYSxDQUFDLENBQUM7QUFDdkMsQ0FBQyJ9