import { PolarCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { CustomerPortalMember } from "../models/components/customerportalmember.js"; import { CustomerPortalMemberCreate } from "../models/components/customerportalmembercreate.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { HTTPValidationError } from "../models/errors/httpvalidationerror.js"; import { PolarError } from "../models/errors/polarerror.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Add Member * * @remarks * Add a new member to the customer's team. * * Only available to owners and billing managers of team customers. * * Rules: * - Cannot add a member with the owner role (there must be exactly one owner) * - If a member with this email already exists, the existing member is returned */ export declare function customerPortalMembersAddMember(client: PolarCore, request: CustomerPortalMemberCreate, options?: RequestOptions): APIPromise>; //# sourceMappingURL=customerPortalMembersAddMember.d.ts.map