vscode-languageserver-protocol 3.17.0-next.16 → 3.17.0-next.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,6 +42,7 @@ export interface ProtocolConnection {
42
42
  *
43
43
  * @param type The request type to install the handler for.
44
44
  * @param handler The actual handler.
45
+ * @returns A disposable to remove the handler.
45
46
  */
46
47
  onRequest<R, PR, E, RO>(type: ProtocolRequestType0<R, PR, E, RO>, handler: RequestHandler0<R, E>): Disposable;
47
48
  onRequest<R, E>(type: RequestType0<R, E>, handler: RequestHandler0<R, E>): Disposable;
@@ -50,6 +51,7 @@ export interface ProtocolConnection {
50
51
  *
51
52
  * @param type The request type to install the handler for.
52
53
  * @param handler The actual handler.
54
+ * @returns A disposable to remove the handler.
53
55
  */
54
56
  onRequest<P, R, PR, E, RO>(type: ProtocolRequestType<P, R, PR, E, RO>, handler: RequestHandler<P, R, E>): Disposable;
55
57
  onRequest<P, R, E>(type: RequestType<P, R, E>, handler: RequestHandler<P, R, E>): Disposable;
@@ -58,12 +60,20 @@ export interface ProtocolConnection {
58
60
  *
59
61
  * @param methods the message signature or the method name to install a handler for.
60
62
  * @param handler The actual handler.
63
+ * @returns A disposable to remove the handler.
61
64
  */
62
65
  onRequest<R, E>(method: MessageSignature | string, handler: GenericRequestHandler<R, E>): Disposable;
66
+ /**
67
+ * Returns true if the connection has a pending response.
68
+ * Otherwise false is returned.
69
+ */
70
+ hasPendingResponse(): boolean;
63
71
  /**
64
72
  * Sends a notification.
65
73
  *
66
74
  * @param type the notification's type to send.
75
+ * @returns A promise that resolves when the notification is written to the
76
+ * network layer.
67
77
  */
68
78
  sendNotification(type: NotificationType0): Promise<void>;
69
79
  sendNotification<RO>(type: ProtocolNotificationType0<RO>): Promise<void>;
@@ -72,6 +82,8 @@ export interface ProtocolConnection {
72
82
  *
73
83
  * @param type the notification's type to send.
74
84
  * @param params the notification's parameters.
85
+ * @returns A promise that resolves when the notification is written to the
86
+ * network layer.
75
87
  */
76
88
  sendNotification<P, RO>(type: ProtocolNotificationType<P, RO>, params?: P): Promise<void>;
77
89
  sendNotification<P>(type: NotificationType<P>, params?: P): Promise<void>;
@@ -79,6 +91,8 @@ export interface ProtocolConnection {
79
91
  * Sends a notification.
80
92
  *
81
93
  * @param method the notification's method signature or the method name.
94
+ * @returns A promise that resolves when the notification is written to the
95
+ * network layer.
82
96
  */
83
97
  sendNotification(method: MessageSignature | string): Promise<void>;
84
98
  /**
@@ -86,6 +100,8 @@ export interface ProtocolConnection {
86
100
  *
87
101
  * @param method the notification's method signature or the method name.
88
102
  * @param params the notification's parameters.
103
+ * @returns A promise that resolves when the notification is written to the
104
+ * network layer.
89
105
  */
90
106
  sendNotification(method: MessageSignature | string, params: any): Promise<void>;
91
107
  /**
@@ -93,6 +109,7 @@ export interface ProtocolConnection {
93
109
  *
94
110
  * @param type The notification type to install the handler for.
95
111
  * @param handler The actual handler.
112
+ * @returns A disposable to remove the handler.
96
113
  */
97
114
  onNotification<RO>(type: ProtocolNotificationType0<RO>, handler: NotificationHandler0): Disposable;
98
115
  onNotification(type: NotificationType0, handler: NotificationHandler0): Disposable;
@@ -101,6 +118,7 @@ export interface ProtocolConnection {
101
118
  *
102
119
  * @param type The notification type to install the handler for.
103
120
  * @param handler The actual handler.
121
+ * @returns A disposable to remove the handler.
104
122
  */
105
123
  onNotification<P, RO>(type: ProtocolNotificationType<P, RO>, handler: NotificationHandler<P>): Disposable;
106
124
  onNotification<P>(type: NotificationType<P>, handler: NotificationHandler<P>): Disposable;
@@ -109,6 +127,7 @@ export interface ProtocolConnection {
109
127
  *
110
128
  * @param methods The message signature or the method name to install the handler for.
111
129
  * @param handler The actual handler.
130
+ * @returns A disposable to remove the handler.
112
131
  */
113
132
  onNotification(method: MessageSignature | string, handler: GenericNotificationHandler): Disposable;
114
133
  /**
@@ -116,6 +135,7 @@ export interface ProtocolConnection {
116
135
  * @param type the progress type
117
136
  * @param token the token
118
137
  * @param handler the handler
138
+ * @returns A disposable to remove the handler.
119
139
  */
120
140
  onProgress<P>(type: ProgressType<P>, token: string | number, handler: NotificationHandler<P>): Disposable;
121
141
  /**
@@ -123,13 +143,17 @@ export interface ProtocolConnection {
123
143
  * @param type the progress type
124
144
  * @param token the token to use
125
145
  * @param value the progress value
146
+ * @returns A promise that resolves when the progress is written to the
147
+ * network layer.
126
148
  */
127
149
  sendProgress<P>(type: ProgressType<P>, token: string | number, value: P): Promise<void>;
128
150
  /**
129
151
  * Enables tracing mode for the connection.
152
+ * @returns A promise that resolves when the trace value is written to the
153
+ * network layer.
130
154
  */
131
- trace(value: Trace, tracer: Tracer, sendNotification?: boolean): void;
132
- trace(value: Trace, tracer: Tracer, traceOptions?: TraceOptions): void;
155
+ trace(value: Trace, tracer: Tracer, sendNotification?: boolean): Promise<void>;
156
+ trace(value: Trace, tracer: Tracer, traceOptions?: TraceOptions): Promise<void>;
133
157
  /**
134
158
  * An event emitter firing when an error occurs on the connection.
135
159
  */
@@ -3,7 +3,8 @@ import { TextDocumentIdentifier, Diagnostic, DocumentUri, integer } from 'vscode
3
3
  import { ProtocolRequestType0, ProtocolRequestType } from './messages';
4
4
  import type { PartialResultParams, StaticRegistrationOptions, WorkDoneProgressParams, TextDocumentRegistrationOptions, WorkDoneProgressOptions, TextDocumentClientCapabilities } from './protocol';
5
5
  /**
6
- * @since 3.17.0 - proposed state
6
+ * @since 3.17.0
7
+ * @proposed
7
8
  */
8
9
  export declare type DiagnosticClientCapabilities = {
9
10
  /**
@@ -25,7 +26,8 @@ export declare type $DiagnosticClientCapabilities = {
25
26
  /**
26
27
  * Diagnostic options.
27
28
  *
28
- * @since 3.17.0 - proposed state
29
+ * @since 3.17.0
30
+ * @proposed
29
31
  */
30
32
  export declare type DiagnosticOptions = WorkDoneProgressOptions & {
31
33
  /**
@@ -48,7 +50,8 @@ export declare type DiagnosticOptions = WorkDoneProgressOptions & {
48
50
  /**
49
51
  * Diagnostic registration options.
50
52
  *
51
- * @since 3.17.0 - proposed state
53
+ * @since 3.17.0
54
+ * @proposed
52
55
  */
53
56
  export declare type DiagnosticRegistrationOptions = TextDocumentRegistrationOptions & DiagnosticOptions & StaticRegistrationOptions;
54
57
  export declare type $DiagnosticServerCapabilities = {
@@ -57,13 +60,15 @@ export declare type $DiagnosticServerCapabilities = {
57
60
  /**
58
61
  * Cancellation data returned from a diagnostic request.
59
62
  *
60
- * @since 3.17.0 - proposed state
63
+ * @since 3.17.0
64
+ * @proposed
61
65
  */
62
66
  export declare type DiagnosticServerCancellationData = {
63
67
  retriggerRequest: boolean;
64
68
  };
65
69
  /**
66
- * @since 3.17.0 - proposed state
70
+ * @since 3.17.0
71
+ * @proposed
67
72
  */
68
73
  export declare namespace DiagnosticServerCancellationData {
69
74
  function is(value: any): value is DiagnosticServerCancellationData;
@@ -71,7 +76,8 @@ export declare namespace DiagnosticServerCancellationData {
71
76
  /**
72
77
  * Parameters of the document diagnostic request.
73
78
  *
74
- * @since 3.17.0 - proposed state
79
+ * @since 3.17.0
80
+ * @proposed
75
81
  */
76
82
  export declare type DocumentDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {
77
83
  /**
@@ -90,30 +96,33 @@ export declare type DocumentDiagnosticParams = WorkDoneProgressParams & PartialR
90
96
  /**
91
97
  * The document diagnostic report kinds.
92
98
  *
93
- * @since 3.17.0 - proposed state
99
+ * @since 3.17.0
100
+ * @proposed
94
101
  */
95
- export declare enum DocumentDiagnosticReportKind {
102
+ export declare namespace DocumentDiagnosticReportKind {
96
103
  /**
97
104
  * A diagnostic report with a full
98
105
  * set of problems.
99
106
  */
100
- full = "full",
107
+ const full = "full";
101
108
  /**
102
109
  * A report indicating that the last
103
110
  * returned report is still accurate.
104
111
  */
105
- unChanged = "unChanged"
112
+ const unChanged = "unChanged";
106
113
  }
114
+ export declare type DocumentDiagnosticReportKind = 'full' | 'unChanged';
107
115
  /**
108
116
  * A diagnostic report with a full set of problems.
109
117
  *
110
- * @since 3.17.0 - proposed state
118
+ * @since 3.17.0
119
+ * @proposed
111
120
  */
112
121
  export declare type FullDocumentDiagnosticReport = {
113
122
  /**
114
123
  * A full document diagnostic report.
115
124
  */
116
- kind: DocumentDiagnosticReportKind.full;
125
+ kind: typeof DocumentDiagnosticReportKind.full;
117
126
  /**
118
127
  * An optional result id. If provided it will
119
128
  * be sent on the next diagnostic request for the
@@ -128,7 +137,8 @@ export declare type FullDocumentDiagnosticReport = {
128
137
  /**
129
138
  * A full diagnostic report with a set of related documents.
130
139
  *
131
- * @since 3.17.0 - proposed state
140
+ * @since 3.17.0
141
+ * @proposed
132
142
  */
133
143
  export declare type RelatedFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {
134
144
  /**
@@ -138,17 +148,19 @@ export declare type RelatedFullDocumentDiagnosticReport = FullDocumentDiagnostic
138
148
  * such a language is C/C++ where marco definitions in a file
139
149
  * a.cpp and result in errors in a header file b.hpp.
140
150
  *
141
- * @since 3.17.0 - proposed state
151
+ * @since 3.17.0
152
+ * @proposed
142
153
  */
143
154
  relatedDocuments?: {
144
- [uri: string /** DocumentUri */]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
155
+ [uri: DocumentUri]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
145
156
  };
146
157
  };
147
158
  /**
148
159
  * A diagnostic report indicating that the last returned
149
160
  * report is still accurate.
150
161
  *
151
- * @since 3.17.0 - proposed state
162
+ * @since 3.17.0
163
+ * @proposed
152
164
  */
153
165
  export declare type UnchangedDocumentDiagnosticReport = {
154
166
  /**
@@ -157,7 +169,7 @@ export declare type UnchangedDocumentDiagnosticReport = {
157
169
  * only return `unchanged` if result ids are
158
170
  * provided.
159
171
  */
160
- kind: DocumentDiagnosticReportKind.unChanged;
172
+ kind: typeof DocumentDiagnosticReportKind.unChanged;
161
173
  /**
162
174
  * A result id which will be sent on the next
163
175
  * diagnostic request for the same document.
@@ -167,7 +179,8 @@ export declare type UnchangedDocumentDiagnosticReport = {
167
179
  /**
168
180
  * An unchanged diagnostic report with a set of related documents.
169
181
  *
170
- * @since 3.17.0 - proposed state
182
+ * @since 3.17.0
183
+ * @proposed
171
184
  */
172
185
  export declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {
173
186
  /**
@@ -177,10 +190,11 @@ export declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocument
177
190
  * such a language is C/C++ where marco definitions in a file
178
191
  * a.cpp and result in errors in a header file b.hpp.
179
192
  *
180
- * @since 3.17.0 - proposed state
193
+ * @since 3.17.0
194
+ * @proposed
181
195
  */
182
196
  relatedDocuments?: {
183
- [uri: string /** DocumentUri */]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
197
+ [uri: DocumentUri]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
184
198
  };
185
199
  };
186
200
  /**
@@ -190,23 +204,26 @@ export declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocument
190
204
  * has changed in terms of diagnostics in comparison to the last
191
205
  * pull request.
192
206
  *
193
- * @since 3.17.0 - proposed state
207
+ * @since 3.17.0
208
+ * @proposed
194
209
  */
195
210
  export declare type DocumentDiagnosticReport = RelatedFullDocumentDiagnosticReport | RelatedUnchangedDocumentDiagnosticReport;
196
211
  /**
197
212
  * A partial result for a document diagnostic report.
198
213
  *
199
- * @since 3.17.0 - proposed state
214
+ * @since 3.17.0
215
+ * @proposed
200
216
  */
201
217
  export declare type DocumentDiagnosticReportPartialResult = {
202
218
  relatedDocuments: {
203
- [uri: string /** DocumentUri */]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
219
+ [uri: DocumentUri]: FullDocumentDiagnosticReport | UnchangedDocumentDiagnosticReport;
204
220
  };
205
221
  };
206
222
  /**
207
223
  * The document diagnostic request definition.
208
224
  *
209
- * @since 3.17.0 - proposed state
225
+ * @since 3.17.0
226
+ * @proposed
210
227
  */
211
228
  export declare namespace DocumentDiagnosticRequest {
212
229
  const method: 'textDocument/diagnostic';
@@ -217,7 +234,8 @@ export declare namespace DocumentDiagnosticRequest {
217
234
  /**
218
235
  * A previous result id in a workspace pull request.
219
236
  *
220
- * @since 3.17.0 - proposed state
237
+ * @since 3.17.0
238
+ * @proposed
221
239
  */
222
240
  export declare type PreviousResultId = {
223
241
  /**
@@ -233,7 +251,8 @@ export declare type PreviousResultId = {
233
251
  /**
234
252
  * Parameters of the workspace diagnostic request.
235
253
  *
236
- * @since 3.17.0 - proposed state
254
+ * @since 3.17.0
255
+ * @proposed
237
256
  */
238
257
  export declare type WorkspaceDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {
239
258
  /**
@@ -249,7 +268,8 @@ export declare type WorkspaceDiagnosticParams = WorkDoneProgressParams & Partial
249
268
  /**
250
269
  * A full document diagnostic report for a workspace diagnostic result.
251
270
  *
252
- * @since 3.17.0 - proposed state
271
+ * @since 3.17.0
272
+ * @proposed
253
273
  */
254
274
  export declare type WorkspaceFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {
255
275
  /**
@@ -265,7 +285,8 @@ export declare type WorkspaceFullDocumentDiagnosticReport = FullDocumentDiagnost
265
285
  /**
266
286
  * An unchanged document diagnostic report for a workspace diagnostic result.
267
287
  *
268
- * @since 3.17.0 - proposed state
288
+ * @since 3.17.0
289
+ * @proposed
269
290
  */
270
291
  export declare type WorkspaceUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {
271
292
  /**
@@ -281,13 +302,15 @@ export declare type WorkspaceUnchangedDocumentDiagnosticReport = UnchangedDocume
281
302
  /**
282
303
  * A workspace diagnostic document report.
283
304
  *
284
- * @since 3.17.0 - proposed state
305
+ * @since 3.17.0
306
+ * @proposed
285
307
  */
286
308
  export declare type WorkspaceDocumentDiagnosticReport = WorkspaceFullDocumentDiagnosticReport | WorkspaceUnchangedDocumentDiagnosticReport;
287
309
  /**
288
310
  * A workspace diagnostic report.
289
311
  *
290
- * @since 3.17.0 - proposed state
312
+ * @since 3.17.0
313
+ * @proposed
291
314
  */
292
315
  export declare type WorkspaceDiagnosticReport = {
293
316
  items: WorkspaceDocumentDiagnosticReport[];
@@ -295,7 +318,8 @@ export declare type WorkspaceDiagnosticReport = {
295
318
  /**
296
319
  * A partial result for a workspace diagnostic report.
297
320
  *
298
- * @since 3.17.0 - proposed state
321
+ * @since 3.17.0
322
+ * @proposed
299
323
  */
300
324
  export declare type WorkspaceDiagnosticReportPartialResult = {
301
325
  items: WorkspaceDocumentDiagnosticReport[];
@@ -303,7 +327,8 @@ export declare type WorkspaceDiagnosticReportPartialResult = {
303
327
  /**
304
328
  * The workspace diagnostic request definition.
305
329
  *
306
- * @since 3.17.0 - proposed state
330
+ * @since 3.17.0
331
+ * @proposed
307
332
  */
308
333
  export declare namespace WorkspaceDiagnosticRequest {
309
334
  const method: 'workspace/diagnostic';
@@ -314,7 +339,8 @@ export declare namespace WorkspaceDiagnosticRequest {
314
339
  /**
315
340
  * The diagnostic refresh request definition.
316
341
  *
317
- * @since 3.17.0 - proposed state
342
+ * @since 3.17.0
343
+ * @proposed
318
344
  */
319
345
  export declare namespace DiagnosticRefreshRequest {
320
346
  const method: `workspace/diagnostic/refresh`;
@@ -9,7 +9,8 @@ const vscode_jsonrpc_1 = require("vscode-jsonrpc");
9
9
  const Is = require("./utils/is");
10
10
  const messages_1 = require("./messages");
11
11
  /**
12
- * @since 3.17.0 - proposed state
12
+ * @since 3.17.0
13
+ * @proposed
13
14
  */
14
15
  var DiagnosticServerCancellationData;
15
16
  (function (DiagnosticServerCancellationData) {
@@ -22,7 +23,8 @@ var DiagnosticServerCancellationData;
22
23
  /**
23
24
  * The document diagnostic report kinds.
24
25
  *
25
- * @since 3.17.0 - proposed state
26
+ * @since 3.17.0
27
+ * @proposed
26
28
  */
27
29
  var DocumentDiagnosticReportKind;
28
30
  (function (DocumentDiagnosticReportKind) {
@@ -30,17 +32,18 @@ var DocumentDiagnosticReportKind;
30
32
  * A diagnostic report with a full
31
33
  * set of problems.
32
34
  */
33
- DocumentDiagnosticReportKind["full"] = "full";
35
+ DocumentDiagnosticReportKind.full = 'full';
34
36
  /**
35
37
  * A report indicating that the last
36
38
  * returned report is still accurate.
37
39
  */
38
- DocumentDiagnosticReportKind["unChanged"] = "unChanged";
40
+ DocumentDiagnosticReportKind.unChanged = 'unChanged';
39
41
  })(DocumentDiagnosticReportKind = exports.DocumentDiagnosticReportKind || (exports.DocumentDiagnosticReportKind = {}));
40
42
  /**
41
43
  * The document diagnostic request definition.
42
44
  *
43
- * @since 3.17.0 - proposed state
45
+ * @since 3.17.0
46
+ * @proposed
44
47
  */
45
48
  var DocumentDiagnosticRequest;
46
49
  (function (DocumentDiagnosticRequest) {
@@ -51,7 +54,8 @@ var DocumentDiagnosticRequest;
51
54
  /**
52
55
  * The workspace diagnostic request definition.
53
56
  *
54
- * @since 3.17.0 - proposed state
57
+ * @since 3.17.0
58
+ * @proposed
55
59
  */
56
60
  var WorkspaceDiagnosticRequest;
57
61
  (function (WorkspaceDiagnosticRequest) {
@@ -62,7 +66,8 @@ var WorkspaceDiagnosticRequest;
62
66
  /**
63
67
  * The diagnostic refresh request definition.
64
68
  *
65
- * @since 3.17.0 - proposed state
69
+ * @since 3.17.0
70
+ * @proposed
66
71
  */
67
72
  var DiagnosticRefreshRequest;
68
73
  (function (DiagnosticRefreshRequest) {
@@ -4,7 +4,8 @@ import type { StaticRegistrationOptions, NotebookDocumentFilter, TextDocumentCon
4
4
  /**
5
5
  * Notebook specific client capabilities.
6
6
  *
7
- * @since 3.17.0 - proposed state
7
+ * @since 3.17.0
8
+ * @proposed
8
9
  */
9
10
  export declare type NotebookDocumentSyncClientCapabilities = {
10
11
  /**
@@ -27,7 +28,8 @@ export declare type $NotebookDocumentClientCapabilities = {
27
28
  /**
28
29
  * A notebook cell kind.
29
30
  *
30
- * @since 3.17.0 - proposed state
31
+ * @since 3.17.0
32
+ * @proposed
31
33
  */
32
34
  export declare namespace NotebookCellKind {
33
35
  /**
@@ -66,7 +68,8 @@ export declare namespace ExecutionSummary {
66
68
  * cells and can therefore be used to uniquely identify a
67
69
  * notebook cell or the cell's text document.
68
70
  *
69
- * @since 3.17.0 - proposed state
71
+ * @since 3.17.0
72
+ * @proposed
70
73
  */
71
74
  export declare type NotebookCell = {
72
75
  /**
@@ -96,7 +99,8 @@ export declare namespace NotebookCell {
96
99
  /**
97
100
  * A notebook document.
98
101
  *
99
- * @since 3.17.0 - proposed state
102
+ * @since 3.17.0
103
+ * @proposed
100
104
  */
101
105
  export declare type NotebookDocument = {
102
106
  /**
@@ -129,7 +133,8 @@ export declare namespace NotebookDocument {
129
133
  /**
130
134
  * A literal to identify a notebook document in the client.
131
135
  *
132
- * @since 3.17.0 - proposed state
136
+ * @since 3.17.0
137
+ * @proposed
133
138
  */
134
139
  export declare type NotebookDocumentIdentifier = {
135
140
  /**
@@ -140,7 +145,8 @@ export declare type NotebookDocumentIdentifier = {
140
145
  /**
141
146
  * A versioned notebook document identifier.
142
147
  *
143
- * @since 3.17.0 - proposed state
148
+ * @since 3.17.0
149
+ * @proposed
144
150
  */
145
151
  export declare type VersionedNotebookDocumentIdentifier = {
146
152
  /**
@@ -165,7 +171,8 @@ export declare type VersionedNotebookDocumentIdentifier = {
165
171
  * document that contain at least one matching
166
172
  * cell will be synced.
167
173
  *
168
- * @since 3.17.0 - proposed state
174
+ * @since 3.17.0
175
+ * @proposed
169
176
  */
170
177
  export declare type NotebookDocumentSyncOptions = {
171
178
  /**
@@ -198,18 +205,6 @@ export declare type NotebookDocumentSyncOptions = {
198
205
  language: string;
199
206
  }[];
200
207
  })[];
201
- /**
202
- * Determines how the notebook is synchronized.
203
- *
204
- * If set to 'notebook' the notebook document,
205
- * its meta data, cell structure and the cell's
206
- * text documents are synchronized.
207
- *
208
- * If set to 'cellContent' only the cell content
209
- * is synchronized using the available
210
- * `textDocument/did*` notifications.
211
- */
212
- mode: 'notebook' | 'cellContent';
213
208
  /**
214
209
  * Whether save notification should be forwarded to
215
210
  * the server. Will only be honored if mode === `notebook`.
@@ -219,7 +214,8 @@ export declare type NotebookDocumentSyncOptions = {
219
214
  /**
220
215
  * Registration options specific to a notebook.
221
216
  *
222
- * @since 3.17.0 - proposed state
217
+ * @since 3.17.0
218
+ * @proposed
223
219
  */
224
220
  export declare type NotebookDocumentSyncRegistrationOptions = NotebookDocumentSyncOptions & StaticRegistrationOptions;
225
221
  export interface $NotebookDocumentSyncServerCapabilities {
@@ -232,7 +228,8 @@ export declare namespace NotebookDocumentSyncRegistrationType {
232
228
  /**
233
229
  * The params sent in a open notebook document notification.
234
230
  *
235
- * @since 3.17.0 - proposed state
231
+ * @since 3.17.0
232
+ * @proposed
236
233
  */
237
234
  export declare type DidOpenNotebookDocumentParams = {
238
235
  /**
@@ -248,7 +245,8 @@ export declare type DidOpenNotebookDocumentParams = {
248
245
  /**
249
246
  * A notification sent when a notebook opens.
250
247
  *
251
- * @since 3.17.0 - proposed state
248
+ * @since 3.17.0
249
+ * @proposed
252
250
  */
253
251
  export declare namespace DidOpenNotebookDocumentNotification {
254
252
  const method: 'notebookDocument/didOpen';
@@ -258,7 +256,8 @@ export declare namespace DidOpenNotebookDocumentNotification {
258
256
  * A change describing how to move a `NotebookCell`
259
257
  * array from state S to S'.
260
258
  *
261
- * @since 3.17.0 - proposed state
259
+ * @since 3.17.0
260
+ * @proposed
262
261
  */
263
262
  export declare type NotebookCellArrayChange = {
264
263
  /**
@@ -281,7 +280,8 @@ export declare namespace NotebookCellArrayChange {
281
280
  /**
282
281
  * A change event for a notebook document.
283
282
  *
284
- * @since 3.17.0 - proposed state
283
+ * @since 3.17.0
284
+ * @proposed
285
285
  */
286
286
  export declare type NotebookDocumentChangeEvent = {
287
287
  /**
@@ -327,7 +327,8 @@ export declare type NotebookDocumentChangeEvent = {
327
327
  /**
328
328
  * The params sent in a change notebook document notification.
329
329
  *
330
- * @since 3.17.0 - proposed state
330
+ * @since 3.17.0
331
+ * @proposed
331
332
  */
332
333
  export declare type DidChangeNotebookDocumentParams = {
333
334
  /**
@@ -361,7 +362,8 @@ export declare namespace DidChangeNotebookDocumentNotification {
361
362
  /**
362
363
  * The params sent in a save notebook document notification.
363
364
  *
364
- * @since 3.17.0 - proposed state
365
+ * @since 3.17.0
366
+ * @proposed
365
367
  */
366
368
  export declare type DidSaveNotebookDocumentParams = {
367
369
  /**
@@ -372,7 +374,8 @@ export declare type DidSaveNotebookDocumentParams = {
372
374
  /**
373
375
  * A notification sent when a notebook document is saved.
374
376
  *
375
- * @since 3.17.0 - proposed state
377
+ * @since 3.17.0
378
+ * @proposed
376
379
  */
377
380
  export declare namespace DidSaveNotebookDocumentNotification {
378
381
  const method: 'notebookDocument/didSave';
@@ -381,7 +384,8 @@ export declare namespace DidSaveNotebookDocumentNotification {
381
384
  /**
382
385
  * The params sent in a close notebook document notification.
383
386
  *
384
- * @since 3.17.0 - proposed state
387
+ * @since 3.17.0
388
+ * @proposed
385
389
  */
386
390
  export declare type DidCloseNotebookDocumentParams = {
387
391
  /**
@@ -397,7 +401,8 @@ export declare type DidCloseNotebookDocumentParams = {
397
401
  /**
398
402
  * A notification sent when a notebook closes.
399
403
  *
400
- * @since 3.17.0 - proposed state
404
+ * @since 3.17.0
405
+ * @proposed
401
406
  */
402
407
  export declare namespace DidCloseNotebookDocumentNotification {
403
408
  const method: 'notebookDocument/didClose';
@@ -11,7 +11,8 @@ const messages_1 = require("./messages");
11
11
  /**
12
12
  * A notebook cell kind.
13
13
  *
14
- * @since 3.17.0 - proposed state
14
+ * @since 3.17.0
15
+ * @proposed
15
16
  */
16
17
  var NotebookCellKind;
17
18
  (function (NotebookCellKind) {
@@ -155,7 +156,8 @@ var NotebookDocumentSyncRegistrationType;
155
156
  /**
156
157
  * A notification sent when a notebook opens.
157
158
  *
158
- * @since 3.17.0 - proposed state
159
+ * @since 3.17.0
160
+ * @proposed
159
161
  */
160
162
  var DidOpenNotebookDocumentNotification;
161
163
  (function (DidOpenNotebookDocumentNotification) {
@@ -186,7 +188,8 @@ var DidChangeNotebookDocumentNotification;
186
188
  /**
187
189
  * A notification sent when a notebook document is saved.
188
190
  *
189
- * @since 3.17.0 - proposed state
191
+ * @since 3.17.0
192
+ * @proposed
190
193
  */
191
194
  var DidSaveNotebookDocumentNotification;
192
195
  (function (DidSaveNotebookDocumentNotification) {
@@ -196,7 +199,8 @@ var DidSaveNotebookDocumentNotification;
196
199
  /**
197
200
  * A notification sent when a notebook closes.
198
201
  *
199
- * @since 3.17.0 - proposed state
202
+ * @since 3.17.0
203
+ * @proposed
200
204
  */
201
205
  var DidCloseNotebookDocumentNotification;
202
206
  (function (DidCloseNotebookDocumentNotification) {