import { primitive } from '@synnaxlabs/x';
import { DependencyList } from 'react';
export declare const useMemoCompare: <V, D extends DependencyList>(factory: () => V, areEqual: (prevDeps: D, nextDeps: D) => boolean, deps: D) => V;
export declare const compareArrayDeps: <T extends primitive.Value>([a]: readonly [T[]] | [T[]], [b]: readonly [T[]] | [T[]]) => boolean;
export declare const useMemoDeepEqual: <T>(value: T) => T;
export declare const useMemoPrimitiveArray: <T extends primitive.Value>(arr: T[]) => T[];
//# sourceMappingURL=useMemoCompare.d.ts.map