import { OptionType } from '../types'; import * as outlineIcons from '@heroicons/vue/24/outline'; export type IconNames = keyof typeof outlineIcons; export type BadgeColor = 'blue' | 'yellow' | 'red' | 'green' | 'gray' | 'pink' | 'lightPurple' | 'lightBlue' | 'grayBgWhiteText' | 'redBgWhiteText' | 'primaryBgWhiteText' | 'redBorder' | 'purpleBorder' | 'blueBorder' | 'greenBorder' | 'yellowBorder' | 'lightBlueBgPrimaryText' | 'lightGrayBgWhiteText'; export type BannerColor = 'yellow' | 'red' | 'primary' | 'gray'; export type BadgeLabel = 'Rossa Dem' | 'Rossa' | 'Bianca' | 'Bianca Dem' | 'Cronica' | 'Ordinaria' | 'RMR'; export declare const IMPORTED_NOTES_BUS = "imported-notes"; export type AutocompleteOptionType = OptionType & { prefixIcon?: { name?: IconNames; isSolid?: boolean; }; semiboldText?: string; }; export declare const isAutocompleteOptionType: (o: any) => o is AutocompleteOptionType; export declare const getEnumFromString: (type: any, str: string | null) => T[keyof T] | null; export declare const currencyToReadableString: (n: number) => string; export declare const cleanArray: (arrayObj: (T | null | undefined | Error)[] | undefined | null) => T[]; export declare const downloadFileViaUrl: (url: string, filename: string) => void; export declare const getReadableDate: (d: number) => string; export declare const getReadableDateTime: (d: number | string | Date, dateTimeFormatOptions?: Intl.DateTimeFormatOptions) => string; export declare const getReadableTime: (d: number | string | Date, shortify?: boolean) => string; export declare const isValidPhoneNumber: (phoneNumber: string) => boolean; export declare const isValidTaxCode: (taxCode: string) => boolean; export declare const isValidPaiCode: (paiCode: string) => boolean; export declare const isValidDecimal: (value: string) => boolean; /** * Parses range values from bracket format: [min][max] e.g., [-42.2][33.5] * @param rangeStr - The range string in bracket format * @returns An object with min and max values, or null if parsing fails */ export declare const parseRangeValues: (rangeStr: string) => { min: number; max: number; } | null; export declare const isValidRange: (value: any, params: any[]) => boolean;