import { getIbAndGib, } from '@ibgib/ts-gib/dist/helper.mjs';
import { clone, } from '@ibgib/helper-gib/dist/helpers/utils-helper.mjs';
import { Factory_V1 as factory } from '@ibgib/ts-gib/dist/V1/factory.mjs';
let crypto = globalThis.crypto;
let { subtle } = crypto;
export function fooClone(x) {
    return clone(x);
}
export function fooGetIbAndGib() {
    return getIbAndGib({ ibGib: { ib: 'ib', gib: 'gib' } });
}
export async function fooFactory() {
    let result = await factory.firstGen({
        ib: 'yo',
        parentIbGib: factory.primitive({ ib: 'yo primitive yo' }),
        dna: true,
        nCounter: true,
        tjp: {
            timestamp: true,
            uuid: true,
        },
    });
    // console.dir(result.newIbGib);
    return result.newIbGib;
}
// let msg = extractErrorMsg("yo");
// console.log(msg);
//# sourceMappingURL=core-helper.mjs.map