import { SPAServerConfig } from './types'; import { Request, Response } from 'express'; import { IndexMiddleware } from './util'; export declare function createCSPIndexMiddleware(config: SPAServerConfig): Promise; export declare function createNonceMiddleware(config: SPAServerConfig): (req: Request, res: Response, next: () => unknown) => void; export declare function createNonceIndexMiddleware(config: SPAServerConfig): Promise;