import { TServiceParams } from "@digital-alchemy/core"; export declare enum TTYDateTypes { datetime = "datetime", date = "date", time = "time", range = "range" } type tDateType = `${TTYDateTypes}`; export declare enum TTYFuzzyTypes { always = "always", never = "never", user = "user" } export interface DateEditorEditorOptions { /** * Current date in granular format */ current?: string; /** * String to represent the date in fuzzy format */ currentFuzzy?: string; /** * fuzzy is default */ defaultStyle?: "fuzzy" | "granular"; /** * Interpret values with chrono-node */ fuzzy?: `${TTYFuzzyTypes}`; /** * Text that should appear the blue bar of the help text */ helpNotes?: string | ((current: Date | Date[]) => string); label?: string; dateType?: tDateType; } export declare function DateEditor({ terminal, config }: TServiceParams): void; export {};