import { DytePermissionsPreset } from '@dytesdk/web-core'; import { EventEmitter } from '../../stencil-public-runtime'; import { IconPack } from '../../lib/icons'; import { DyteI18n } from '../../lib/lang'; import { Poll } from '../../types/props'; /** * A poll component. * * Shows a poll where a user can vote. */ export declare class DytePolls { /** Poll */ poll: Poll; /** Self ID */ self: string; /** Permissions Object */ permissions: DytePermissionsPreset; /** Event which is emitted when a poll is voted on */ onVote: EventEmitter<{ id: string; index: number; }>; /** Icon pack */ iconPack: IconPack; /** Language */ t: DyteI18n; private MAX_VOTES_RENDER; private vote; render(): any; }