import { OnChanges, SimpleChanges } from '@angular/core'; import { FormControl, FormGroup } from '@angular/forms'; import { Poll, PollAnswer } from 'stream-chat'; import { BasePollComponent } from '../../base-poll.component'; import * as i0 from "@angular/core"; /** * */ export declare class UpsertAnswerComponent extends BasePollComponent implements OnChanges { class: string; /** * The poll comment to edit, when in edit mode */ answer: PollAnswer | undefined; /** * The callback to close the modal the component is displayed in */ closeModal: () => void; formGroup: FormGroup<{ comment: FormControl; }>; ngOnChanges(changes: SimpleChanges): void; addComment(): Promise; protected stateStoreSelector(_: Poll, __: () => void): () => void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }