import { Dayjs } from "dayjs"; export type DateOutputOptions = { /** * The format to be used for the date * Any dayjs format can be used * If set to false, it will not be returned in the date output object * * @default DD-MM-YYYY hh:mm:ss A */ format?: string | false; /** * The timezone to be used for the date * If set to false, it will not converted to the timezone * Default value is from the config file located in app.timezone * @default app.timezone */ timezone?: string | false; /** * If set to true, it will return a human readable time * * @default true */ humanTime?: boolean; /** * If set to true, it will return a text representation of the date and time * * @default true */ text?: boolean; /** * If set to true, it will return the date in timestamp * * @default true */ timestamp?: boolean; /** * If set to true, it will return a text representation of the date only * * @default true */ date?: boolean; /** * Return ony the time * * @default true */ time?: boolean; /** * Return the offset from the UTC time */ offset?: boolean; }; export type DateOutputReturn = { format?: string; humanTime?: string; text?: string; date?: string; timestamp?: number; time?: string; offset?: number; }; export declare function dateOutput(date: Date | Dayjs | any, options?: DateOutputOptions): DateOutputReturn | undefined; //# sourceMappingURL=date-output.d.ts.map