import * as _nuxt_schema from '@nuxt/schema'; import { ICookiebotPluginOptions } from '@ambitiondev/cookiebot-common'; type ModuleOptionsBase = Omit & { /** * Configure if the consent banner should be shown automatically. Defaults to `true`. * Override this behaviour if you would like to add stateful logic to the consent banner. * * Locale from `nuxt-i18n` is detected automatically to set culture for your Cookiebot implementation. */ autoConsentBanner: boolean; }; type ModuleOptionsWithRuntimeConfig = ModuleOptionsBase & { /** * Configure if the module should use Nuxt's runtime config. */ useRuntimeConfig: true; }; type ModuleOptionsWithoutRuntimeConfig = ModuleOptionsBase & { /** * Configure if the module should use Nuxt's runtime config. Defaults to `false`. */ useRuntimeConfig?: false; /** * Your Cookiebot ID found in the Cookiebot admin interface. */ cookiebotId: string; }; type ModuleOptions = ModuleOptionsWithRuntimeConfig | ModuleOptionsWithoutRuntimeConfig; type ResolvedModuleOptions = ModuleOptionsBase & { /** * The resolved Cookiebot ID from either the module options or Nuxt's runtime config. */ cookiebotId: string; }; declare const _default: _nuxt_schema.NuxtModule; export { _default as default }; export type { ModuleOptions, ResolvedModuleOptions };