import { EventEmitter } from '@angular/core'; import { FormArray, FormControl, FormGroup } from '@angular/forms'; import { CustomTemplatesService } from '../../custom-templates.service'; import { ModalContext } from '../../types'; import { ChatClientService } from '../../chat-client.service'; import { NotificationService } from '../../notification.service'; import * as i0 from "@angular/core"; /** * */ export declare class PollComposerComponent { readonly customTemplatesService: CustomTemplatesService; private chatService; private notificationService; /** * Emitted when a poll is created, the poll id is emitted */ readonly pollCompose: EventEmitter; /** * Emitted when the poll composing is cancelled */ readonly cancel: EventEmitter; formGroup: FormGroup<{ name: FormControl; options: FormArray>; multiple_answers: FormControl; maximum_number_of_votes: FormControl; is_anonymous: FormControl; allow_user_suggested_options: FormControl; allow_answers: FormControl; }>; isModalOpen: boolean; private formContent; constructor(customTemplatesService: CustomTemplatesService, chatService: ChatClientService, notificationService: NotificationService); optionChanged(index: number): void; get options(): FormArray>; addOption(): void; removeLastOption(): void; getModalContext(): ModalContext; createPoll(): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }