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>([a]: readonly [T[]] | [T[]], [b]: readonly [T[]] | [T[]]) => boolean;
export declare const useMemoDeepEqualProps: <T extends Record<string, unknown> | undefined>(props: T) => T;
export declare const useMemoPrimitiveArray: <T extends Primitive>(arr: T[]) => T[];
//# sourceMappingURL=useMemoCompare.d.ts.map