import type { ResourceBase } from "./Common";
export declare type CDNType = 'resource.cdn';
export interface CDN extends ResourceBase {
    type: CDNType;
    defaultRoot: string;
    isSPA: boolean;
    /**
   * TLS options. If missing TLS is disabled; otherwise it is controlled by `tls.useTLS`
   */
    tls?: TLSOptions;
}
export interface TLSOptions {
    /**
   * Controls if TLS is is used. defaults to `true`
   */
    useTLS?: boolean;
    /**
   * If `true`, requests to `http://*` are redirected to `https://*`
   */
    httpRedirection?: boolean;
}
export declare const isCDN: import("@altostra/type-validations").ObjectOfTypeValidation<CDN>;
