import * as _nuxt_schema from '@nuxt/schema'; import { CookieOptions } from 'nuxt/app'; export * from '../dist/runtime/types/index.js'; interface AuthOptions { populate?: string | string[]; fields?: string | string[]; } interface ModuleOptions { /** * Strapi API URL * @default process.env.STRAPI_URL * @example 'http://localhost:1337' * @type string */ url?: string; /** * Strapi API TOKEN * @default process.env.STRAPI_TOKEN * @type string */ token?: string; /** * Strapi Prefix * @default '/api' * @type string */ prefix?: string; /** * Strapi Admin Prefix * @default '/admin' * @type string */ admin?: string; /** * Strapi Version * @default 'v5' * @type string * @example 'v4' */ version?: 'v5' | 'v4' | 'v3'; /** * Nuxt Cookie Options * @default {} * @type CookieOptions */ cookie?: CookieOptions; /** * Strapi Cookie Name * @default 'strapi_jwt' * @type string */ cookieName?: string; /** * Strapi Auth Options * @default {} * @type AuthOptions * @example { populate: '*' } * @example { populate: ['profile', 'teams'] } */ auth?: AuthOptions; /** * Add Strapi Admin in Nuxt Devtools * * Please read the instructions on https://strapi.nuxtjs.org/devtools * * @default false */ devtools?: boolean; } declare const _default: _nuxt_schema.NuxtModule; export { _default as default }; export type { AuthOptions, ModuleOptions };