import { FormControl, FormGroup } from '@angular/forms';
import { BasePollComponent } from '../../base-poll.component';
import { Poll, PollOption } from 'stream-chat';
import * as i0 from "@angular/core";
/**
 *
 */
export declare class AddOptionComponent extends BasePollComponent {
    class: string;
    /**
     * The callback to close the modal the component is displayed in
     */
    closeModal: () => void;
    formGroup: FormGroup<{
        text: FormControl<string | null>;
    }>;
    options: PollOption[];
    addOption(): Promise<void>;
    protected stateStoreSelector(poll: Poll, markForCheck: () => void): () => void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AddOptionComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AddOptionComponent, "stream-add-option", never, { "closeModal": "closeModal"; }, {}, never, never, false, never>;
}
