import type { ExcludeFunction } from "./utils"; export type UseUndoStateOptions = { maxSize: number; }; type UseUndoStatePushFunctionArgumentsCallback = (currentValue: T) => T; export type UseUndoStatePushFunction = (argument: T | UseUndoStatePushFunctionArgumentsCallback) => void; type UndoFunction = () => void; export type UseUndoStateReturnValue = [ ExcludeFunction, UseUndoStatePushFunction>, UndoFunction ]; export type CallbackWithNoArguments = () => void; export type UseGeolocationReturnType = { isError: boolean; lat?: number; lng?: number; message: string; }; export {};