export type CspName = 'default-src' | 'script-src' | 'worker-src' | 'style-src' | 'img-src' | 'connect-src' | 'font-src' | 'object-src' | 'frame-ancestors' | 'base-uri' | 'form-action' | 'upgrade-insecure-requests' | 'media-src' | 'frame-src' | 'script-src-elem' | 'style-src-elem' | 'manifest-src'; export type CspType = Partial>; export interface CspBuilderOptions { /** Directives whose values replace the defaults rather than add to them; `undefined` drops one. */ replace?: Partial>; /** Allows Google Fonts in `style-src` and `font-src`. Defaults to true. */ googleFonts?: boolean; /** Adds `'unsafe-inline'` to `style-src`. Defaults to true. */ unsafeInlineStyles?: boolean; } /** Pass several domains to cover every apex a site is served on; each directive lists them in the given order. `siteCsp` adds to the defaults, `options.replace` overrides them. */ export declare function cspBuilder(domainName: string | string[], siteCsp?: CspType, { replace, googleFonts, unsafeInlineStyles }?: CspBuilderOptions): string; //# sourceMappingURL=csp.d.ts.map