import type { Id } from '../id.js'; import type { Network } from '../types.js'; export type EntityVoteParams = { /** The author's personal space ID. */ authorSpaceId: Id | string; /** The space ID where the entity is being voted on. */ spaceId: Id | string; /** The entity ID being voted on. */ entityId: Id | string; /** Network to use (defaults to TESTNET). */ network?: Network; }; export type EntityVoteResult = { /** The contract address to send the transaction to (Space Registry). */ to: `0x${string}`; /** The calldata for the Space Registry `enter()` function call. */ calldata: `0x${string}`; }; /** * Creates calldata for upvoting an entity. * * @deprecated Use `createGeoClient({ network }).entityVotes.upvote(...)`. */ export declare function upvoteEntity(params: EntityVoteParams): EntityVoteResult; /** * Creates calldata for downvoting an entity. * * @deprecated Use `createGeoClient({ network }).entityVotes.downvote(...)`. */ export declare function downvoteEntity(params: EntityVoteParams): EntityVoteResult; /** * Creates calldata for withdrawing the author's vote on an entity. * * @deprecated Use `createGeoClient({ network }).entityVotes.withdraw(...)`. */ export declare function withdrawEntityVote(params: EntityVoteParams): EntityVoteResult; //# sourceMappingURL=entity-vote.d.ts.map