UNPKG

@nuxt/content

Version:

Write your content inside your Nuxt app

24 lines (23 loc) 981 B
import * as server from './server.js'; import type { Collections, CollectionQueryBuilder } from '@nuxt/content'; import type { H3Event } from 'h3'; /** * `@nuxt/content/nitro` import is deprecated and will be removed in the next major version. * Use `@nuxt/content/server` instead. */ /** * @deprecated Import from `@nuxt/content/server` instead */ export declare const queryCollection: <T extends keyof Collections>(event: H3Event, collection: T) => CollectionQueryBuilder<Collections[T]>; /** * @deprecated Import from `@nuxt/content/server` instead */ export declare const queryCollectionNavigation: typeof server.queryCollectionNavigation; /** * @deprecated Import from `@nuxt/content/server` instead */ export declare const queryCollectionItemSurroundings: typeof server.queryCollectionItemSurroundings; /** * @deprecated Import from `@nuxt/content/server` instead */ export declare const queryCollectionSearchSections: typeof server.queryCollectionSearchSections;