export interface CspDirectives { readonly defaultSrc?: string[]; readonly connectSrc?: string[]; readonly fontSrc?: string[]; readonly imgSrc?: string[]; readonly manifestSrc?: string[]; readonly mediaSrc?: string[]; readonly objectSrc?: string[]; readonly scriptSrc?: string[]; readonly scriptSrcElem?: string[]; readonly scriptSrcAttr?: string[]; readonly styleSrc?: string[]; readonly styleSrcElem?: string[]; readonly styleSrcAttr?: string[]; readonly workerSrc?: string[]; readonly baseUri?: string[]; readonly sandbox?: string[]; readonly formAction?: string[]; readonly frameAncestors?: string[]; readonly frameSrc?: string[]; readonly reportTo?: string[]; readonly upgradeInsecureRequests?: string[]; readonly childSrc?: string[]; } export declare const createCspFromDirectiveObjects: (directiveObjects: CspDirectives[]) => string; export declare const camelToDash: (str: string) => string;