import { type Ref, type ComputedRef } from 'vue'; export type R = T | Ref | ComputedRef; type IncludeType = Array; type OptionsType = { include?: R>; path?: string; loadOnUpdate?: boolean; lazy?: boolean; preferCache?: boolean; }; export default function createUseSingle(models: any, stores: any, cache: any): (model: ModelName, id: R, options?: OptionsType) => { item: ComputedRef; refresh: () => void; isLoading: ComputedRef; isFailed: ComputedRef; error: any; }; export {};