type Props = { /** * yyyy-mm-dd, dd-mm-yyyy or mm-dd-yyyy. Default yyyy-mm-dd */ dateFormat?: "yyyy-mm-dd" | "dd-mm-yyyy" | "mm-dd-yyyy"; /** * Currently only supported are en, de and el. Default en. * Anything not supported trated as en. */ lang?: string; /** * If your language is not suported, you can pass month names manually */ months?: string[]; /** * If your language is not suported, you can pass ok/cancel names manually */ buttonText?: { ok: string; cancel: string; }; /** * If your language is not suported, you can pass day names manually */ dayAbbrebiations?: string[]; /** * If true, can choose just year and month or just year. Default false */ allowPartial?: boolean; /** * Bind to this to get or set the year */ year: number | undefined; /** * Bind to this to get the month (0-11) */ month: number | null | undefined; /** * Bind to this to get the day (1-31) */ day: number | null | undefined; /** * Bind to this to get the day (1-31) */ hour?: number | undefined; /** * Bind to this to get the day (1-31) */ minute?: number | undefined; classes?: string; styles?: string; id?: string; zIndex?: number; includeTime?: boolean; onOk?(year: number, month: number | null, day: number | null, hour?: number, minute?: number): Promise; onCancel?(): void; }; /** Choose a date or partial date and output it as a string */ declare const DateSelector: import("svelte").Component; type DateSelector = ReturnType; export default DateSelector;