import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as models from "../models/index.js"; import * as operations from "../models/operations/index.js"; import { PageIterator } from "../types/operations.js"; export declare class Organizations extends ClientSDK { /** * Create organization * * @remarks * Create a new organization. The authenticated user becomes the owner automatically. */ createOrganization(request: models.NameSlugDescription2, options?: RequestOptions): Promise; /** * List user organizations * * @remarks * Get all organizations the authenticated user belongs to with their roles. */ listOrganizations(request?: operations.ListOrganizationsRequest | undefined, options?: RequestOptions): Promise>; /** * Get organization * * @remarks * Get organization details by ID. Requires membership in the organization. */ getOrganization(request: operations.GetOrganizationRequest, options?: RequestOptions): Promise; /** * Update organization * * @remarks * Update organization details. Requires admin or owner role. */ updateOrganization(request: operations.UpdateOrganizationRequest, options?: RequestOptions): Promise; /** * Delete organization * * @remarks * Delete an organization and all its data. Only the owner can perform this action. */ deleteOrganization(request: operations.DeleteOrganizationRequest, options?: RequestOptions): Promise; /** * Get organization by slug * * @remarks * Get organization details by URL slug. Requires membership in the organization. */ getOrganizationBySlug(request: operations.GetOrganizationBySlugRequest, options?: RequestOptions): Promise; /** * Check slug availability * * @remarks * Check if an organization slug is available for use. */ checkOrganizationSlug(request: operations.CheckOrganizationSlugRequest, options?: RequestOptions): Promise; /** * Get member count * * @remarks * Get the number of members in an organization. */ getOrganizationMemberCount(request: operations.GetOrganizationMemberCountRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=organizations.d.ts.map