export class ContinueServerClient {
    userToken;
    url;
    constructor(serverUrl, userToken) {
        this.userToken = userToken;
        try {
            this.url =
                typeof serverUrl !== "string" || serverUrl === ""
                    ? undefined
                    : new URL(serverUrl);
        }
        catch (e) {
            console.warn("Invalid Continue server url", e);
            this.url = undefined;
        }
    }
    getUserToken() {
        return this.userToken;
    }
    connected = false;
    async getConfig() {
        throw new Error("Not Implemented");
    }
    async getFromIndexCache(keys, artifactId, repoName) {
        return { files: {} };
    }
}
