import type { ProposeAddEditorParams, ProposeAddEditorResult } from './types.js'; /** * Creates a proposal to add an editor to a DAO space. * * This function encodes a proposal that, when executed, will call the DAO * space's `addEditor()` function to add the given editor 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.proposeAddEditor({ * authorSpaceId: '0xProposerBytes16SpaceId...', * spaceId: '0xDAOBytes16SpaceId...', * daoSpaceAddress: '0xDAOSpaceContractAddress...', * newEditorSpaceId: '0xNewEditorBytes16SpaceId...', * }); * * // Submit the transaction using viem or another client * await walletClient.sendTransaction({ to, data: calldata }); * ``` */ export declare function proposeAddEditor(params: ProposeAddEditorParams): ProposeAddEditorResult; //# sourceMappingURL=propose-add-editor.d.ts.map