vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
6 lines (5 loc) • 340 B
TypeScript
export { getCacheControl };
import type { PageConfigRuntime } from '../../../../shared/page-configs/PageConfig.js';
import type { HttpResponse } from '../createHttpResponse.js';
type StatusCode = HttpResponse['statusCode'];
declare function getCacheControl(pageId: string, pageConfigs: PageConfigRuntime[], statusCode: StatusCode): string;