ragflow / web /typings.d.ts
zxsipola123456's picture
Upload 769 files
ab2ded1 verified
raw
history blame contribute delete
537 Bytes
import { KFModelState } from '@/pages/add-knowledge/components/knowledge-file/model';
import { ChatModelState } from '@/pages/chat/model';
declare module 'lodash';
function useSelector<TState = RootState, TSelected = unknown>(
selector: (state: TState) => TSelected,
equalityFn?: (left: TSelected, right: TSelected) => boolean,
): TSelected;
export interface RootState {
chatModel: ChatModelState;
kFModel: KFModelState;
}
declare global {
type Nullable<T> = T | null;
}
declare module 'umi' {
export { useSelector };
}