import type { MouseEventHandler } from "react";
import type { NamedUser } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/lib/user";
import type { TooltipProps } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase/ui";
import type { User } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
export type ItemWithLastEditInfo = {
    "last-edit-info": Edit;
};
export type Edit = {
    id?: number;
    timestamp: string;
    full_name?: string | null;
} & Partial<NamedUser>;
export declare const getHowLongAgo: (timestamp: string) => string;
declare function LastEditInfoLabel({ prefix, item, user, onClick, className, fullName, tooltipProps, children, }: {
    prefix: string;
    item: ItemWithLastEditInfo;
    user: User;
    onClick?: MouseEventHandler<HTMLButtonElement>;
    className?: string;
    fullName: string | null;
    tooltipProps?: TooltipProps;
    children?: React.ReactNode;
}): import("react/jsx-runtime").JSX.Element;
declare const _default: import("react-redux").ConnectedComponent<typeof LastEditInfoLabel, {
    [x: string]: any;
}>;
export default _default;
