/** * Sets the client name and version. These are sent in HTTP parameters to * Sourcegraph endpoints, which may block old client versions. */ export declare function setClientNameVersion(newClientName: string, newClientVersion: string): void; /** * Gets the client info querystring parameters to send with HTTP requests. */ export declare function getClientInfoParams(): { "client-name": string; "client-version": string; }; /** * Adds client info parameters to `params`. These parameters * are necessary for Sourcegraph >= 5.4 .api/completions/code and * .api/completions/stream endpoints. */ export declare function addClientInfoParams(params: URLSearchParams): void; //# sourceMappingURL=client-name-version.d.ts.map