import type { H3Event } from 'h3'; import type { NuxtMultiCacheCDNHelper } from './../helpers/CDNHelper.js'; /** * Return the helper to be used for interacting with the CDN headers feature. * * The helper is provided via a callback, which is only called server side. * That way the entire code patch, incl. calling useCDNHeaders, is removed * from client bundles. * * @param cb - The callback. Receives the CDN Helper as the first argument. * @param providedEvent - Optionally provide the request event if useRequestEvent() fails. * @param applyToEvent - Whether to apply the headers to the event. Defaults to false. */ export declare function useCDNHeaders(cb: (helper: NuxtMultiCacheCDNHelper) => void, providedEvent?: H3Event, applyToEvent?: boolean): void;