import { BoxProps, Factory, GroupProps, StylesApiProps } from '@mantine/core';
import dayjs from 'dayjs';
export type LastUpdatedStylesNames = 'root' | 'label';
export interface LastUpdatedProps extends BoxProps, Pick<GroupProps, 'justify'>, StylesApiProps<LastUpdatedFactory> {
    /**
     * Optional formatter function to format the time value.
     * Receives the time prop and should return a string.
     * @default (time) => dayjs(time).format('h:mm:ss A')
     */
    formatter?: (time: dayjs.ConfigType) => string;
    /**
     * The unformatted time to display that can be parsed by dayjs.
     * @default The current time via dayjs().valueOf()
     */
    time?: dayjs.ConfigType;
    /**
     * Label to contextualize the time.
     *
     * @default "Last update:"
     */
    label?: string;
}
export type LastUpdatedFactory = Factory<{
    props: LastUpdatedProps;
    ref: HTMLDivElement;
    stylesNames: LastUpdatedStylesNames;
}>;
export declare const LastUpdated: import("@mantine/core").MantineComponent<{
    props: LastUpdatedProps;
    ref: HTMLDivElement;
    stylesNames: LastUpdatedStylesNames;
}>;
//# sourceMappingURL=LastUpdated.d.ts.map