import { ComputedRef, Ref } from "vue"; import { FormField } from "@agendize/design-system"; import { Router } from "vue-router"; export declare function getNumber(strNumber: string): number; export declare function InformationStepViewModel(router: Router, formFields: Ref, strPageIndex: string): InformationStepViewModelType; interface InformationStepViewModelType { panel: Ref; iframe: Ref; fields: Ref; isValid: Ref; pageIndex: Ref; saveLoading: Ref; loading: Ref; attendantValues: ComputedRef<{ label: string; value: string; }[]>; numberOfAdditionalSeats: Ref; changePage: (newPageIndex: string) => void; confirm: () => void; back: () => void; validated: (data: { isValid: boolean; values: { id: string; values: string; }[]; }) => void; withAttendant: Ref; } export declare function getWidgetFieldsSessionId(fieldId: string): string; /** * retourne si les informations du formulaire de la page 0 à lastPageToValidate sont valides */ export declare function widgetFormValid(lastPageToValidate?: number): boolean; export declare function saveFormValueInContext(fieldsResult?: FormField[], pageIndex?: number): void; export {}; //# sourceMappingURL=viewModel.d.ts.map