import { ComponentPropsWithoutRef, ReactNode } from "react"; export type QuestionnairePanelHeaderProps = { title: string; onBack?: () => void; backLabel?: string; }; declare const QuestionnairePanelHeader: ({ title, onBack, backLabel, }: QuestionnairePanelHeaderProps) => import("react").JSX.Element; export type QuestionnairePanelItemProps = { label: string; loading?: boolean; } & Omit, "children">; declare const QuestionnairePanelItem: ({ label, loading, className, ...props }: QuestionnairePanelItemProps) => import("react").JSX.Element; export type QuestionnairePanelInputProps = { label: string; value: string; onChange: (value: string) => void; onSubmit: () => void; submitLabel: string; submitDisabled?: boolean; } & Omit, "value" | "onChange" | "onSubmit" | "type">; declare const QuestionnairePanelInput: ({ label, placeholder, value, onChange, onSubmit, submitLabel, submitDisabled, className, ...props }: QuestionnairePanelInputProps) => import("react").JSX.Element; export type QuestionnairePanelProps = QuestionnairePanelHeaderProps & { loading?: boolean; children?: ReactNode; className?: string; }; export declare function QuestionnairePanel({ title, onBack, backLabel, loading, children, className, }: QuestionnairePanelProps): import("react").JSX.Element; export declare namespace QuestionnairePanel { export { QuestionnairePanelHeader as Header }; export { QuestionnairePanelItem as Item }; export { QuestionnairePanelInput as Input }; } export {}; //# sourceMappingURL=QuestionnairePanel.d.ts.map