export declare const CREDENTIALS_ENV_VAR = "APPSEMBLE_CLIENT_CREDENTIALS";
export declare function getService(remote: string): string;
export declare function getKeytar(): Promise<typeof import('keytar')>;
/**
 * Login to the server using OAuth2 client credentials.
 *
 * @param remote Host to fetch token from.
 * @param scope The OAuth2 scope to request. This may be space separated to request
 *   multiple scopes.
 * @param inputCredentials Client credentials passed from the command line.
 */
export declare function authenticate(remote: string, scope: string, inputCredentials?: string): Promise<void>;
