import { Signer } from '../signer.js';
import { createTx } from './rpc.js';
export interface WorkerManager {
    tx: ReturnType<typeof createTx>;
    registerSignReceiver: (signFn: Signer['sign']) => number;
    terminate: () => void;
}
export interface CreateWorkerManagerConfig {
    wasm: WebAssembly.Module;
    settingsString?: string;
}
/**
 * Creates a new web worker and performs initialization steps:
 * - Compile WASM
 * - Load settings (if provided)
 *
 * @param config - configuration object
 * @returns Facade providing convenient control over worker functions
 */
export declare function createWorkerManager(config: CreateWorkerManagerConfig): Promise<WorkerManager>;
//# sourceMappingURL=workerManager.d.ts.map