import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { OffsetPage, type OffsetPageParams, PagePromise } from "../../core/pagination.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class UserConnections extends APIResource { /** * List all auth connections */ list(query?: UserConnectionListParams | null | undefined, options?: RequestOptions): PagePromise; /** * Delete a user/auth provider connection */ delete(id: string, options?: RequestOptions): APIPromise; } export type UserConnectionResponsesOffsetPage = OffsetPage; export interface UserConnectionResponse { id?: string; connection_id?: string; connection_status?: string; provider_description?: string; provider_id?: string; provider_type?: string; provider_user_info?: unknown; scopes?: Array; user_id?: string; } export interface UserConnectionListParams extends OffsetPageParams { /** * Provider ID */ provider_id?: string; /** * User ID */ user_id?: string; } export declare namespace UserConnections { export { type UserConnectionResponse as UserConnectionResponse, type UserConnectionResponsesOffsetPage as UserConnectionResponsesOffsetPage, type UserConnectionListParams as UserConnectionListParams, }; } //# sourceMappingURL=user-connections.d.ts.map