interface PurgeOptions { type: "durableObject" | "direct"; } /** * Creates a Cloudflare CDN invalidation handler. * * In Durable Object mode, a missing `NEXT_CACHE_DO_PURGE` binding logs an error and skips * the purge. It does not fall back to direct purges, which are not buffered and count * against the account-wide purge rate limit. * * @param options Selects direct API or Durable Object invalidation. * @returns The Cloudflare CDN invalidation handler. */ export declare const purgeCache: ({ type }: PurgeOptions) => { name: string; /** * Invalidates cache entries associated with resolved paths. * * @param paths Paths whose cache entries should be invalidated. * @returns A promise that resolves when invalidation completes. */ invalidatePaths(paths: { initialPath: string; rawPath: string; resolvedRoutes: import("@opennextjs/aws/types/open-next.js").ResolvedRoute[]; }[]): Promise; invalidateTags: (tags: string[]) => Promise; }; export default purgeCache;