import type { CSPAppDirectives } from '../../utils/config/cli-options';
export declare const ALLOWED_PORTS: number[];
/**
 * Parses tenant from an environment url
 * @param environmentUrl
 * @returns The tenant and hostname
 */
export declare function getTenantAndHostNameFromEnvUrl(environmentUrl: string): {
    tenant: string;
    hostname: string;
};
/**
 * Get the CSP. This is kinda heavy, so the result is cached.
 * @param environmentUrl The Dynatrace environment URL
 * @param inlineScriptHashes SHA-256 hashes to inline scripts that are allowed to be injected
 * @param getToken Function to retrieve the token
 */
export declare function getCsp(environmentUrl: string, inlineScriptHashes: string[], token: string, customCSPDirectives?: CSPAppDirectives): Promise<string>;
