export class CometChatCreatePoll extends React.Component<any, any, any> {
    static contextType: React.Context<{}>;
    constructor(props: any);
    loggedInUser: null;
    state: {
        errorMessage: string;
        options: never[];
        creatingPoll: boolean;
    };
    questionRef: React.RefObject<any>;
    optionOneRef: React.RefObject<any>;
    optionTwoRef: React.RefObject<any>;
    optionRef: React.RefObject<any>;
    addPollOption: () => void;
    removePollOption: (option: any) => void;
    optionChangeHandler: (event: any, option: any) => void;
    createPoll: () => false | undefined;
    render(): React.JSX.Element;
}
export namespace CometChatCreatePoll {
    namespace defaultProps {
        export { theme };
    }
    namespace propTypes {
        let theme_1: PropTypes.Requireable<object>;
        export { theme_1 as theme };
    }
}
import React from 'react';
import { theme } from '../../../../resources/theme';
import PropTypes from 'prop-types';
//# sourceMappingURL=index.d.ts.map