import type { ApiErrorInfo } from '../../../../types/command.types.js'; import { CcApiSimpleCommand } from '../../lib/cc-api-command.js'; import type { RemoveOrganisationMemberCommandInput } from './remove-organisation-member-command.types.js'; /** * The error codes this command can produce, to compare against `error.code`. * * - `NOT_FOUND`: the member is not part of the organisation * - `UNAUTHORISED_DELETION`: the current user is not allowed to remove this member */ export declare const REMOVE_ORGANISATION_MEMBER_ERROR_CODES: { readonly NOT_FOUND: 'clever.organisation.member.not-found'; readonly UNAUTHORISED_DELETION: 'clever.organisation.member.unauthorised-deletion'; }; export type RemoveOrganisationMemberErrorCode = (typeof REMOVE_ORGANISATION_MEMBER_ERROR_CODES)[keyof typeof REMOVE_ORGANISATION_MEMBER_ERROR_CODES]; /** * Removes a member from an organisation. * * Common error codes: see {@link REMOVE_ORGANISATION_MEMBER_ERROR_CODES} * * @endpoint [DELETE] /v2/organisations/:XXX/members/:XXX * @group Organisation * @version 2 */ export declare class RemoveOrganisationMemberCommand extends CcApiSimpleCommand { toRequestParams(params: RemoveOrganisationMemberCommandInput): Partial; transformCommandOutput(): undefined; transformErrorCode({ code }: ApiErrorInfo): RemoveOrganisationMemberErrorCode; isIdempotent(): boolean; } //# sourceMappingURL=remove-organisation-member-command.d.ts.map