UNPKG

@astrojs/netlify

Version:
13 lines (12 loc) 444 B
import './polyfill.js'; import type { Context } from '@netlify/functions'; import type { SSRManifest } from 'astro'; export interface Args { middlewareSecret: string; } export declare const createExports: (manifest: SSRManifest, { middlewareSecret }: Args) => { default: (integrationConfig: { cacheOnDemandPages: boolean; notFoundContent?: string; }) => (request: Request, context: Context) => Promise<Response>; };