import type { Fn } from '../@aileron/declare';
/**
 * Returns a version number that triggers React re-renders and a function to update it.
 * Useful for forcing component re-renders when needed.
 * @param callback - Optional callback function to execute when updateVersion is called
 * @returns [version, updateVersion] - The version number and a function to update it
 * @example
 * const [version, forceUpdate] = useVersion();
 * // Force re-render when needed
 * const handleRefresh = () => forceUpdate();
 */
export declare const useVersion: (callback?: Fn) => readonly [number, () => void];
