UNPKG

@prezly/theme-kit-nextjs

Version:

Data layer and utility library for developing Prezly themes with NextJS

16 lines (15 loc) 417 B
import { ContentDelivery, Resolvable } from '@prezly/theme-kit-core'; export interface Configuration { redis?: { url: string; prefix?: string; ttl?: number; }; memory?: boolean; latestVersion: Resolvable<number>; namespace?: string; } export declare function configure(config: Configuration): { storage: ContentDelivery.Cache; latestVersion: number; } | undefined;