UNPKG

@nori-zk/mina-token-bridge

Version:

A Mina zk-program contract allowing users to mint tokens on Nori Bridge.

13 lines (12 loc) 488 B
import { type WorkerParentChildInterface } from '../index.js'; export declare function getWorkerUrl(url: URL): string; export declare class WorkerParent implements WorkerParentChildInterface { private child; private deferedReady; constructor(scriptPath: URL); ready(): Promise<void>; call(data: string): Promise<void>; onMessageHandler(callback: (response: string) => void): void; onErrorHandler(callback: (error: any) => void): void; terminate(): void; }