import type { ProposeAddMemberParams, ProposeAddMemberResult } from './types.js'; /** * Creates a proposal to add a member to a DAO space. * * This function encodes a proposal that, when executed, will call the DAO * space's `addMember()` function to add the given member space ID. * The proposal is submitted via SpaceRegistry's `enter()` function. * * @param params - The parameters for creating the proposal * @returns Object containing `to` (Space Registry address), `calldata`, and `proposalId` * * @example * ```ts * import { daoSpace } from '@geoprotocol/geo-sdk'; * * const { to, calldata, proposalId } = daoSpace.proposeAddMember({ * authorSpaceId: '0xProposerBytes16SpaceId...', * spaceId: '0xDAOBytes16SpaceId...', * daoSpaceAddress: '0xDAOSpaceContractAddress...', * newMemberSpaceId: '0xNewMemberBytes16SpaceId...', * }); * * // Submit the transaction using viem or another client * await walletClient.sendTransaction({ to, data: calldata }); * ``` */ export declare function proposeAddMember(params: ProposeAddMemberParams): ProposeAddMemberResult; //# sourceMappingURL=propose-add-member.d.ts.map