export declare const usePrevious: (value: T) => T | undefined; export declare function usePropsOrInternalState(initialState: T, state: T | undefined, setState: ((val: T) => void) | undefined): [T, (val: T) => void]; export declare const useDeprecation: (message: string, cond?: boolean) => void;