import { BoxProps } from '@mui/material';
import { FunctionComponent, PropsWithChildren } from 'react';
import { QuestionType } from '../utils/mapQuestionTypeToLabel.js';

interface QuestionLabelProps {
    text: string;
    id: string;
}
interface QuestionBarProps extends PropsWithChildren {
    type?: QuestionType;
    loading?: boolean;
    slotProps?: {
        container?: Partial<BoxProps>;
    };
    labels?: QuestionLabelProps[];
}
declare const QuestionBar: FunctionComponent<QuestionBarProps>;

export { QuestionBar as default };
export type { QuestionBarProps, QuestionLabelProps };
