1 | import { ServerConnection } from '../serverconnection';
|
2 | import { Session } from '.';
|
3 | type DeepPartial<T> = {
|
4 | [P in keyof T]?: DeepPartial<T[P]>;
|
5 | };
|
6 |
|
7 |
|
8 |
|
9 | export declare const SESSION_SERVICE_URL = "api/sessions";
|
10 |
|
11 |
|
12 |
|
13 | export declare function listRunning(settings?: ServerConnection.ISettings): Promise<Session.IModel[]>;
|
14 |
|
15 |
|
16 |
|
17 | export declare function getSessionUrl(baseUrl: string, id: string): string;
|
18 |
|
19 |
|
20 |
|
21 | export declare function shutdownSession(id: string, settings?: ServerConnection.ISettings): Promise<void>;
|
22 |
|
23 |
|
24 |
|
25 | export declare function getSessionModel(id: string, settings?: ServerConnection.ISettings): Promise<Session.IModel>;
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | export declare function startSession(options: Session.ISessionOptions, settings?: ServerConnection.ISettings): Promise<Session.IModel>;
|
31 |
|
32 |
|
33 |
|
34 | export declare function updateSession(model: Pick<Session.IModel, 'id'> & DeepPartial<Omit<Session.IModel, 'id'>>, settings?: ServerConnection.ISettings): Promise<Session.IModel>;
|
35 | export {};
|