import type { ProposeRequestMembershipParams, ProposeRequestMembershipResult } from './types.js'; /** * Creates a membership request for a DAO space. * * This function: * 1. Validates the requestor and DAO space IDs * 2. Encodes the membership request data (proposalId, requestorSpaceId) * 3. Encodes the SpaceRegistry's `enter()` call with the `MEMBERSHIP_REQUESTED` action * * Unlike governance proposals, this can be called by non-members to request membership. * Editors can then approve or reject the request. * * @param params - The parameters for requesting membership * @returns Object containing `to` (Space Registry address), `calldata`, and `proposalId` * * @example * ```ts * import { daoSpace } from '@geoprotocol/geo-sdk'; * * const { to, calldata, proposalId } = daoSpace.proposeRequestMembership({ * authorSpaceId: '0xRequestorBytes16SpaceId...', * spaceId: '0xDAOBytes16SpaceId...', * }); * * // Submit the transaction using viem or another client * await walletClient.sendTransaction({ to, data: calldata }); * ``` */ export declare function proposeRequestMembership(params: ProposeRequestMembershipParams): ProposeRequestMembershipResult; //# sourceMappingURL=propose-request-membership.d.ts.map