import { default as React, JSXElementConstructor, FC } from 'react';
import { QuestionProps, QuestionType } from './types.cjs';
export declare function getChildrenOfType<P>(...allowedTypes: Array<string | JSXElementConstructor<P>>): (children: React.ReactNode) => React.ReactElement<P, string | React.JSXElementConstructor<unknown>>[] | null | undefined;
export declare const getQuestionFromType: (type: QuestionType) => FC<QuestionProps>;
