massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-json / node_modules / vscode-languageserver-protocol / lib / common / messages.d.ts
1 import { RequestType, RequestType0, NotificationType, NotificationType0, ProgressType, _EM } from 'vscode-jsonrpc';
2 export declare class RegistrationType<RO> {
3     /**
4      * Clients must not use this property. It is here to ensure correct typing.
5      */
6     readonly ____: [RO, _EM] | undefined;
7     readonly method: string;
8     constructor(method: string);
9 }
10 export declare class ProtocolRequestType0<R, PR, E, RO> extends RequestType0<R, E> implements ProgressType<PR>, RegistrationType<RO> {
11     /**
12      * Clients must not use these properties. They are here to ensure correct typing.
13      * in TypeScript
14      */
15     readonly ___: [PR, RO, _EM] | undefined;
16     readonly ____: [RO, _EM] | undefined;
17     readonly _pr: PR | undefined;
18     constructor(method: string);
19 }
20 export declare class ProtocolRequestType<P, R, PR, E, RO> extends RequestType<P, R, E> implements ProgressType<PR>, RegistrationType<RO> {
21     /**
22      * Clients must not use this property. It is here to ensure correct typing.
23      */
24     readonly ___: [PR, RO, _EM] | undefined;
25     readonly ____: [RO, _EM] | undefined;
26     readonly _pr: PR | undefined;
27     constructor(method: string);
28 }
29 export declare class ProtocolNotificationType0<RO> extends NotificationType0 implements RegistrationType<RO> {
30     /**
31      * Clients must not use this property. It is here to ensure correct typing.
32      */
33     readonly ___: [RO, _EM] | undefined;
34     readonly ____: [RO, _EM] | undefined;
35     constructor(method: string);
36 }
37 export declare class ProtocolNotificationType<P, RO> extends NotificationType<P> implements RegistrationType<RO> {
38     /**
39      * Clients must not use this property. It is here to ensure correct typing.
40      */
41     readonly ___: [RO, _EM] | undefined;
42     readonly ____: [RO, _EM] | undefined;
43     constructor(method: string);
44 }