import { Modding } from "@flamework/core";
/**
 *
 * @param callback - The function to memoize.
 * @param dependencies - An array of values to compare against the previous dependencies.
 * @param discriminator - An optional value to additionally key by.
 * @param key - An automatically generated key to store the memoized value.
 * @returns The memoized value.
 * @metadata macro
 */
export declare function useMemo<T extends unknown>(callback: () => T, dependencies?: Array<unknown>, discriminator?: unknown, key?: Modding.Caller<"uuid">): T;
