// Type definitions for JScrewIt

import type { encode }  from './encode';
import type { Feature } from './feature';

export *        from './encode';
export *        from './feature';
export type *   from './feature-all';

interface JScrewIt
{
    Feature:    typeof Feature;
    encode:     typeof encode;
}

declare global
{
    /** Global JScrewIt object, available in browsers. */
    const JScrewIt: JScrewIt;
}

declare const JScrewIt: JScrewIt;

/** JScrewIt object, available in Node.js. */
export default JScrewIt;
