10 lines
472 B
TypeScript
10 lines
472 B
TypeScript
import { ServerConnectionInfo, ServerEntry } from "../../tree/Server";
|
|
import { Modal } from "../../ui/elements/Modal";
|
|
export declare enum RequestInfoStatus {
|
|
SUCCESS = 0,
|
|
UNKNOWN = 1,
|
|
NO_PERMISSION = 2
|
|
}
|
|
export declare type ServerBandwidthInfoUpdateCallback = (status: RequestInfoStatus, info?: ServerConnectionInfo) => any;
|
|
export declare function openServerInfoBandwidth(server: ServerEntry, update_callbacks?: ServerBandwidthInfoUpdateCallback[]): Modal;
|