/** * Returns a value computed during the first render using the provided factory. * The value is guaranteed to never change. * * @param factory factory function to generate the singleton value on the first render (ignored for any subsequent render) * @typeParam T type of the generated value * @category Hook */ export declare function useSingleton(factory: () => T): T; //# sourceMappingURL=use-singleton.d.ts.map