import type { Denormalize, DenormalizeNullable, ErrorTypes, EndpointInterface, FetchFunction, Schema, ResolveType } from '@data-client/core'; import { type ComputedRef } from 'vue'; import type { MaybeRefsOrGetters, MaybeRefsOrGettersNullable } from '../types.js'; /** * Use async data with { data, loading, error } (DLE) * @see https://dataclient.io/docs/api/useDLE */ export default function useDLE>(endpoint: E, ...args: MaybeRefsOrGetters>): { data: ComputedRef | undefined : Denormalize | DenormalizeNullable>; loading: ComputedRef; error: ComputedRef; }; export default function useDLE>(endpoint: E, ...args: MaybeRefsOrGettersNullable> | readonly [null]): { data: ComputedRef>; loading: ComputedRef; error: ComputedRef; }; //# sourceMappingURL=useDLE.d.ts.map