import * as react_jsx_runtime from 'react/jsx-runtime'; interface UpvoteButtonProps { votes: number; /** Whether the current user has already voted. One vote per user. */ voted?: boolean; /** Fired when the user toggles their vote. */ onVote?: () => void; } /** * Compact vertical vote control: a chevron over a tabular-nums count. Toggles the * caller's vote on click and reflects the optimistic count. Used on upvote boards * (ideas, feature requests) as the left-hand action of a list row. */ declare function UpvoteButton({ votes, voted: initialVoted, onVote, }: UpvoteButtonProps): react_jsx_runtime.JSX.Element; export { UpvoteButton, type UpvoteButtonProps };