import { Dispatch, SetStateAction } from "react"; import { RegistryKey, RegistryValueType, ValuedRegistryKey } from "tc-shared/settings"; export declare function useDependentState(factory: (prevState?: S) => S, inputs: ReadonlyArray): [S, Dispatch>]; export declare function useTr(message: string): string; export declare function joinClassList(...classes: any[]): string; export declare function useGlobalSetting(key: ValuedRegistryKey, defaultValue?: V): V; export declare function useGlobalSetting(key: RegistryKey, defaultValue: DV): V | DV;