/* THIS (.ts) FILE IS GENERATED BY TypedSignalR.Client.TypeScript */
/* eslint-disable */
/* tslint:disable */
// @ts-nocheck
import type { IStreamResult, Subject } from '@microsoft/signalr';
import type { ProgressInfo } from '../server.Hubs';

export type IJtagHub = {
    /**
    * @param freq Transpiled from int
    * @returns Transpiled from System.Threading.Tasks.Task<bool>
    */
    setBoundaryScanFreq(freq: number): Promise<boolean>;
    /**
    * @param freq Transpiled from int
    * @returns Transpiled from System.Threading.Tasks.Task<bool>
    */
    startBoundaryScan(freq: number): Promise<boolean>;
    /**
    * @returns Transpiled from System.Threading.Tasks.Task<bool>
    */
    stopBoundaryScan(): Promise<boolean>;
}

export type IProgressHub = {
    /**
    * @param taskId Transpiled from string
    * @returns Transpiled from System.Threading.Tasks.Task<bool>
    */
    join(taskId: string): Promise<boolean>;
}

export type IJtagReceiver = {
    /**
    * @param msg Transpiled from System.Collections.Generic.Dictionary<string, bool>
    * @returns Transpiled from System.Threading.Tasks.Task
    */
    onReceiveBoundaryScanData(msg: Partial<Record<string, boolean>>): Promise<void>;
}

export type IProgressReceiver = {
    /**
    * @param message Transpiled from server.Hubs.ProgressInfo
    * @returns Transpiled from System.Threading.Tasks.Task
    */
    onReceiveProgress(message: ProgressInfo): Promise<void>;
}

