import { type ApiClientInterface, BaseService, type CommonErrors, type ServiceDependencies } from "../../api/base-service"; import { type Service } from "./schemas"; export type { Service } from "./schemas"; export type ListServicesResult = CommonErrors | ["missing_id_token", null] | [null, Service[]]; export type DisconnectServiceResult = CommonErrors | ["missing_id_token", null] | ["not_found", { error_identifier: string; }] | [null, null]; export declare class ServicesService extends BaseService { constructor(client: ApiClientInterface, deps?: ServiceDependencies); /** List all OAuth services the authenticated user is connected to. */ list(): Promise; /** Disconnect the authenticated user from an OAuth service by client ID. */ disconnect(clientId: string): Promise; }