import { WorkerVariant } from '../../common/src/webworker/worker.registry';
export declare class HinkalRNWorker {
    private variant;
    onmessage: ((event: {
        data: any;
    }) => void) | null;
    onerror: ((error: any) => void) | null;
    private requestId;
    private subscription;
    constructor(variant: WorkerVariant);
    postMessage(message: unknown): void;
    terminate(): void;
}
