import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; export declare class User extends ClientSDK { /** * List all workspaces the current user has access to. */ listMemberships(options?: RequestOptions): Promise; /** * Get the current user's profile and user-scoped onboarding state. */ getProfile(options?: RequestOptions): Promise; /** * Update the current user's profile (display name). */ updateProfile(request?: operations.UpdateUserProfileRequest | undefined, options?: RequestOptions): Promise; /** * Complete the required beta intake and profile setup dialog. */ completeProfileSetup(request?: models.UserProfileSetupRequest | undefined, options?: RequestOptions): Promise; /** * Create a new workspace. The current user will be automatically added as an admin. */ createWorkspace(request?: operations.CreateWorkspaceRequest | undefined, options?: RequestOptions): Promise; /** * List all git namespaces (GitHub installations) the current user has access to. */ listGitNamespaces(request?: operations.ListGitNamespacesRequest | undefined, options?: RequestOptions): Promise; /** * Sync git namespaces from the provider. For GitHub, this fetches all app installations accessible to the user. */ syncGitNamespaces(request?: operations.SyncGitNamespacesRequest | undefined, options?: RequestOptions): Promise; /** * List repositories accessible through a git namespace (GitHub installation). */ listGitNamespaceRepositories(request: operations.ListGitNamespaceRepositoriesRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=user.d.ts.map