-
Notifications
You must be signed in to change notification settings - Fork 19
/
index.d.ts
65 lines (65 loc) · 2.06 KB
/
index.d.ts
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
export interface Node {
aet: string;
ip: string;
port: string;
}
export interface KeyValue {
key: string;
value: string;
}
interface scuOptions {
source: Node;
target: Node;
verbose?: boolean;
}
interface scpOptions {
source: Node;
peers: Node[];
verbose?: boolean;
}
export interface echoScuOptions extends scuOptions {
}
export interface findScuOptions extends scuOptions {
tags: KeyValue[];
}
export interface getScuOptions extends scuOptions {
netTransferPrefer?: string;
tags: KeyValue[];
}
export interface moveScuOptions extends scuOptions {
tags: KeyValue[];
destination: string;
netTransferPrefer?: string;
}
export interface storeScuOptions extends scuOptions {
sourcePath: string;
netTransferPropose?: string;
}
export interface storeScpOptions extends scpOptions {
storagePath?: string;
netTransferPrefer?: string;
netTransferPropose?: string;
writeTransfer?: string;
permissive?: boolean;
}
export interface shutdownScuOptions extends scuOptions {
}
export interface parseOptions {
sourcePath: string;
verbose?: boolean;
}
export interface recompressOptions {
sourcePath: string;
storagePath: string;
writeTransfer?: string;
verbose?: boolean;
}
export declare function echoScu(options: echoScuOptions, callback: (result: string) => void): void;
export declare function findScu(options: findScuOptions, callback: (result: string) => void): void;
export declare function getScu(options: getScuOptions, callback: (result: string) => void): void;
export declare function moveScu(options: moveScuOptions, callback: (result: string) => void): void;
export declare function storeScu(options: storeScuOptions, callback: (result: string) => void): void;
export declare function startStoreScp(options: storeScpOptions, callback: (result: string) => void): void;
export declare function shutdownScu(options: shutdownScuOptions, callback: (result: string) => void): void;
export declare function parseFile(options: parseOptions, callback: (result: string) => void): void;
export {};