import type { DynamicClient } from '../../../../client/types';
import type { BusinessAccountMember } from '../businessAccounts.types';
type RemoveMemberParams = {
    businessAccountId: string;
    userId: string;
};
/**
 * Removes a member from a business account. Any signer rows the member held on
 * the account's wallets are torn down as part of the removal. The backend
 * refuses to remove the account's last owner.
 *
 * @param params.businessAccountId - The business account to remove the member from.
 * @param params.userId - The id of the user to remove.
 * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
 * @returns The removed member.
 *
 * @example
 * ```ts
 * const detail = await getBusinessAccount({ businessAccountId });
 * const member = detail.members[0];
 * await removeBusinessAccountMember({
 *   businessAccountId,
 *   userId: member.userId,
 * });
 * ```
 *
 * @see addBusinessAccountMember
 * @see getBusinessAccount
 * @notInstrumented
 */
export declare const removeBusinessAccountMember: ({ businessAccountId, userId }: RemoveMemberParams, client?: DynamicClient) => Promise<BusinessAccountMember>;
export {};
//# sourceMappingURL=removeBusinessAccountMember.d.ts.map