16 lines
504 B
TypeScript
16 lines
504 B
TypeScript
import { Effects } from '../Effects';
|
|
import { Host, HostId, PackageId } from '../osBindings';
|
|
import { Watchable } from './Watchable';
|
|
export declare class GetHostInfo extends Watchable<Host | null> {
|
|
readonly opts: {
|
|
hostId: HostId;
|
|
packageId?: PackageId;
|
|
};
|
|
protected readonly label = "GetHostInfo";
|
|
constructor(effects: Effects, opts: {
|
|
hostId: HostId;
|
|
packageId?: PackageId;
|
|
});
|
|
protected fetch(callback?: () => void): Promise<Host | null>;
|
|
}
|