blob: a6ff167c838b0b1aef1bd35f753252176bbdd278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
/**
* This file is generated by hand in order to bootstrap compiler development. It is intended to be an exact match to
* compiled output.
*/
import * as capnp from "../index";
import { Struct as __S } from "../index";
export declare const _capnpFileId = "a184c7885cdaf2a1";
export declare enum Side {
SERVER = 0,
CLIENT = 1
}
export declare class VatId extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getSide(): Side;
setSide(value: Side): void;
toString(): string;
}
export declare class ProvisionId extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getJoinId(): number;
setJoinId(value: number): void;
toString(): string;
}
export declare class RecipientId extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
toString(): string;
}
export declare class ThirdPartyCapId extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
toString(): string;
}
export declare class JoinKeyPart extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getJoinId(): number;
setJoinId(value: number): void;
getPartCount(): number;
setPartCount(value: number): void;
getPartNum(): number;
setPartNum(value: number): void;
toString(): string;
}
export declare class JoinResult extends __S {
static readonly _capnp: {
displayName: string;
id: string;
size: capnp.ObjectSize;
};
getJoinId(): number;
setJoinId(value: number): void;
getSucceeded(): boolean;
setSucceeded(value: boolean): void;
adoptCap(value: capnp.Orphan<capnp.Pointer>): void;
disownCap(): capnp.Orphan<capnp.Pointer>;
getCap(): capnp.Pointer;
hasCap(): boolean;
setCap(value: capnp.Pointer): void;
toString(): string;
}
|