interface Window { CDN: { init(options: CdnOptions): void; get(): string; }; } interface Tag { tag: string; appendTo?: "body" | "head"; attrs: Record; } interface CdnOptions { defaultCdn: string; cookieName?: string; tags?: Tag[]; reloadToRoot?: boolean; }