import type { LunaticComponentDefinition } from '../type'; import { type DeepTranslateExpression } from '../commons/fill-components/fill-component-expressions'; import { fillComponent } from '../commons/fill-components/fill-components'; type State = Parameters[1]; /** * Get component specific props (RoundAbout for instance) */ export declare function getComponentTypeProps(component: DeepTranslateExpression, state: State): { items: { progress: unknown; }[]; page: number; } | { components: import("../..").LunaticComponentProps[]; } | { getComponents: (iteration: number) => import("../..").LunaticComponentProps[]; } | { size: import("react").ReactNode; getComponents: (x: number, y: number) => import("../..").LunaticComponentProps[]; } | { body: ((import("../../components/type").LunaticBaseProps & { maxLength?: number; value: null | string; response: { name: string; }; componentType?: "Input"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { cols?: number; placeHolder?: string; maxLength?: number; rows?: number; response: { name: string; }; componentType?: "Textarea"; } & { conditionFilter?: boolean; }) | (Pick, "label" | "description" | "declarations" | "id" | "style" | "shouldBeFiltered"> & { componentType?: "Sequence"; } & { conditionFilter?: boolean; }) | (Pick, "label" | "description" | "declarations" | "id" | "shouldBeFiltered"> & { componentType?: "Subsequence"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { iterations: number; goToPage: ReturnType["goToPage"]; page: number; progressVariable: string; locked: boolean; items: { label?: import("react").ReactNode; progress: number; description?: import("react").ReactNode; disabled?: boolean; }[]; componentType?: "Roundabout"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { lines: { min: number; max: number; }; iterations: number; getComponents: (n: number) => import("../..").LunaticComponentProps[]; executeExpression: import("../type").LunaticReducerState["executeExpression"]; value: Record; header?: Array<{ label: import("react").ReactNode; }>; paginatedLoop?: boolean; componentType?: "Loop"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { lines: { min: number; max: number; }; iterations: number; getComponents: (n: number) => import("../..").LunaticComponentProps[]; executeExpression: import("../type").LunaticReducerState["executeExpression"]; value: Record; header?: Array<{ label: import("react").ReactNode; rowspan?: number; colspan?: number; }>; paginatedLoop?: boolean; componentType?: "RosterForLoop"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { value: Record; header: Array<{ label: import("react").ReactNode; rowspan?: number; colspan?: number; }>; body: (import("../..").LunaticComponentProps & { colspan?: number; rowspan?: number; })[][]; executeExpression: import("../type").LunaticReducerState["executeExpression"]; iteration: import("../type").LunaticReducerState["pager"]["iteration"]; componentType?: "Table"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { min?: number; max?: number; decimals?: number; unit?: string; response: { name: string; }; componentType?: "InputNumber"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { format: import("../../components/type").DurationFormat; response: { name: string; }; componentType?: "Duration"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { dateFormat: "YYYY-MM-DD" | "YYYY-MM" | "YYYY"; min?: string; max?: string; response: { name: string; }; componentType?: "Datepicker"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps> & { options: { id: string; label: import("react").ReactNode; name: string; checked: boolean; description?: import("react").ReactNode; onCheck: (b: boolean) => void; onDetailChange?: (v: string) => void; detailLabel?: import("react").ReactNode; detailMaxLength?: number; detailValue?: string | null; shouldBeFiltered?: boolean; }[]; orientation?: "horizontal" | "vertical"; detailAlwaysDisplayed?: boolean; componentType?: "CheckboxGroup"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { response: { name: string; }; componentType?: "CheckboxBoolean"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { options: Array; checkboxStyle?: boolean; response: { name: string; }; componentType?: "Radio"; orientation?: "horizontal" | "vertical"; detailAlwaysDisplayed?: boolean; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { options: Array<{ description?: import("react").ReactNode; label: import("react").ReactNode; value: string; shouldBeFiltered?: boolean; }>; response: { name: string; }; componentType?: "Dropdown"; } & { conditionFilter?: boolean; }) | (Pick, "label" | "description" | "declarations" | "id" | "disabled" | "shouldBeFiltered" | "propsTransformer" | "errors" | "readOnly"> & { components: import("../..").LunaticComponentProps[]; componentType?: "Question"; iteration?: number; value: Record; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { options: Array; response: { name: string; }; componentType?: "CheckboxOne"; orientation?: "horizontal" | "vertical"; detailAlwaysDisplayed?: boolean; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { componentType?: "Suggester"; storeName: string; optionRenderer: import("react").FunctionComponent<{ option: import("../../components/type").SuggesterOption; placeholder?: string; search?: string; }>; labelRenderer: import("react").FunctionComponent<{ option?: import("../../components/type").SuggesterOption; selected?: boolean; search?: string; }>; focused: boolean; response: { name: string; }; optionResponses?: { name: string; attribute: string; }[]; arbitrary?: { response: { name: string; }; }; arbitraryValue?: string; allowArbitrary?: boolean; executeExpression: import("../type").LunaticReducerState["executeExpression"]; iteration: import("../type").LunaticReducerState["pager"]["iteration"]; } & { conditionFilter?: boolean; }) | (Omit, "value"> & { components: LunaticComponentDefinition[]; features?: import("../type").LunaticOptions["features"]; executeExpression: import("../type").LunaticReducerState["executeExpression"]; size: number; symLinks: Record>; value: Record; getComponents: (x: number, y: number) => import("../..").LunaticComponentProps[]; componentType?: "PairwiseLinks"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { componentType?: "Summary"; executeExpression: import("../type").LunaticReducerState["executeExpression"]; sections: Array<{ id: string; responses?: Array<{ id: string; label: import("../../components/type").VtlExpression; value: import("../../components/type").VtlExpression; }>; title?: import("../../components/type").VtlExpression; iterations?: import("../../components/type").VtlExpression; }>; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { componentType?: "Text"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { componentType?: "Accordion"; items: { label: import("react").ReactNode; body: import("react").ReactNode; }[]; } & { conditionFilter?: boolean; }) | (Pick, "label" | "id"> & { componentType?: "FilterDescription"; } & { conditionFilter?: boolean; }) | (import("../../components/type").LunaticBaseProps & { response: { name: string; }; statusLabel?: { true: string; false: string; }; componentType?: "Switch"; } & { conditionFilter?: boolean; }) | { label: unknown; })[][]; } | { arbitraryValue?: undefined; } | { arbitraryValue: unknown; }; export {};