export default class Membership { private readonly baseUrl; constructor(baseUrl: string); /** * Delivers/grants an existing membership to a user for DAO participation * This method delivers a membership to the specified user, enabling them to become * a member of the decentralized autonomous organization (DAO) and participate in its governance. * The membership must already exist and be available for delivery. * * @param userId - The unique identifier of the user who will receive the membership * @returns Promise resolving to the server response containing membership delivery details * @throws Will throw an error if the membership delivery fails or if there's a server error */ addOne(userId: string): Promise; /** * Checks if a user is a member of the DAO * This method verifies whether the specified address corresponds to a current member * of the decentralized autonomous organization (DAO). It queries the server to determine * the membership status of the given address. * * @param address - The blockchain address to check for membership status * @returns Promise resolving to a boolean indicating whether the address is a member * @throws Will throw an error if the membership check fails or if there's a server error */ isMember(address: string): Promise; } //# sourceMappingURL=membership.d.ts.map