export interface PollOption { id: string; label: string; description?: string; votes?: number; disabled?: boolean; } export type PollSize = 'sm' | 'md' | 'lg'; export type PollLayout = 'list' | 'cards'; interface PollProps { question: string; description?: string; options?: PollOption[]; /** Selected option id (single) or ids (multiple) */ value?: string | string[] | null; totalVotes?: number; disabled?: boolean; /** Force results view */ showResults?: boolean; /** Allow changing vote after selecting */ allowChange?: boolean; multiple?: boolean; /** Max selections when multiple (0 = unlimited) */ maxSelections?: number; showPercent?: boolean; showCounts?: boolean; sortByVotes?: boolean; size?: PollSize; layout?: PollLayout; hint?: string; class?: string; onchange?: (value: string | string[]) => void; } declare const Poll: import("svelte").Component; type Poll = ReturnType; export default Poll;