import { AutoCompleteActiviteOption } from "interface"; import { TimeLineRowType } from "../../interface/DayOverviewTypes"; export declare const important: (value: string) => string; /** * Returns string of date with french format * e.g. mercredi 14 juin 2022 * @param date * @returns */ export declare const formateDateToFrenchFormat: (date: Date, language: string, dateOptions?: any) => string; /** * Returns french day from date * e.g. lundi * @param date */ export declare const getFrenchDayFromDate: (date: Date) => string; /** * Returns a date from string of date formatted as: * yyyy-mm-dd * @param input * @returns */ export declare const generateDateFromStringInput: (input: string) => Date; /** * Returns a string with format: yyyy-mm-dd * @param date * @returns */ export declare const generateStringInputFromDate: (date: Date) => string; /** * Sets hours, minutes, seconds and milliseconds to 0 to allow comparison at date level * @param date * @returns */ export declare const setDateTimeToZero: (date: Date) => Date; /** * Returns time from Date, with format: hhhmm * @param t * @returns */ export declare const convertTime: (t: Date) => string; /** * Generates options and default values for DayOverview HourChecker components * Returns a TimeLineRowType for each timeline interval * @returns */ export declare const generateDayOverviewTimelineRawData: () => TimeLineRowType[]; /** * Splits a label (e.g. of categories) in two if it has some parenthesis * @param fullLabel * @returns */ export declare const splitLabelWithParenthesis: (fullLabel: string) => { mainLabel: string; secondLabel: string | undefined; }; export declare const isUUID: (uuid: string) => boolean; /** * Remove accents * @param value * @returns */ export declare const removeAccents: (value: string) => string; /** * Activities with abbreviated pronouns (ex: de -> d') * are not searched because pronouns are not skipped * @param labelWithApostrophe * @returns activity label with pronoun + apostroph replace * with pronoun without abbreviation */ export declare const skipApostrophes: (labelWithApostrophe: string) => string; /** * Add synonymes of misspellings * @param option * @returns */ export declare const addMisspellings: (option: AutoCompleteActiviteOption) => AutoCompleteActiviteOption; export declare const addArrayToSession: (nameItem: string, array: any[]) => void; export declare const getArrayFromSession: (nameItem: string) => any[];