import { type ReactNode } from "react";
interface UseActionButtonLabelProps {
    defaultLabel: string | ReactNode;
    timeout?: number;
}
/**
 * Small hook to temporarly update a string, and return it to it's
 * initial value after the timeout expires.
 */
export declare const useActionButtonLabel: ({ defaultLabel, timeout, }: UseActionButtonLabelProps) => {
    label: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | null | undefined;
    setLabel: (newLabel: string) => void;
};
export {};
