import type { ReactElement } from "react";
import { type PossibleDate } from "../../util/date.js";
import type { OptionalChildProps } from "../util/props.js";
export interface WhenProps extends OptionalChildProps {
    target: PossibleDate | undefined;
    current?: PossibleDate | undefined;
    full?: boolean | undefined;
}
/** Show a string like `in 6d` or `3w ago` wrapped with a `<time>` element providing the machine-readable format of the same date. */
export declare function When(props: WhenProps): ReactElement;
export interface AgoProps extends WhenProps {
}
/** Show a string like `6d` or `3w` wrapped with a `<time>` element providing the machine-readable format of the same date. */
export declare function Ago(props: AgoProps): ReactElement;
export interface UntilProps extends WhenProps {
}
/** Show a string like `6d` or `3w` wrapped with a `<time>` element providing the machine-readable format of the same date. */
export declare function Until(props: UntilProps): ReactElement;
