export declare const compareByCreatedAtDesc: (a: {
    created_at: string;
}, b: {
    created_at: string;
}) => number;
/**
 * Get the timezone strings supported by the user's browser.
 *
 * @returns string[]
 */
export declare function getTimezones(): string[];
/**
 * Get the default browser timezone.
 *
 * @returns string
 */
export declare function getBrowserTimezone(): string;
/**
 * Takes an IANA timezone, like America/Los_Angeles, into a more readable
 * string: Los Angeles (America).
 * @param timezone
 * @returns string
 */
export declare function getTimezoneLabel(timezone: string): string;
/**
 * Compares 2 timezones (America/Los_angeles) by their offset
 * minutes in ascending order.
 *
 * @param timezoneA
 * @param timezonB
 * @returns number
 */
export declare const compareByTimezoneOffsetAsc: (timezoneA: string, timezonB: string) => number;
/**
 * Get the timezone offset
 * America/Los_angeles -> -07:00
 *
 * eg. America/Los_Angeles -> UTC-07:00
 *
 * @param timezone
 * @returns offset
 */
export declare function getTimezoneOffset(timezone: string): string;
export declare const formatDateTimeReadable: (dateTime: string) => string;
export declare const getNow: () => string;
export declare const get24HoursLater: () => string;
/**
 * Takes a date (2023-07-20T00:00:00), and a timezone (America/Los_angeles), and
 * returns an ISO8601 Date (2023-07-20T00:00:00.000-07:00).
 *
 * @param date
 * @param timezone
 * @returns ISOdate
 */
export declare const createIsoDate: (date: string, timezone: string) => string;
/**
 * Takes a ISO datetime string (2023-07-20T00:00:00.000-07:00) and returns
 * the IANA timezone (America/Los_angeles).
 *
 * @param date
 * @returns string
 */
export declare const getTimezoneFromIsoDate: (date: string) => string | null;
/**
 * Takes an ISO datetime string (2023-07-20T00:00:00.000-07:00) and returns a string like
 * (Jul 20, 12:00 AM PDT).
 *
 * @param date
 * @returns string
 *
 */
export declare const formatDateAndTime: (date: string) => string;
