/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md. */ /** * Transforms any value to an array. If the provided value is already an array, it is returned unchanged. */ export declare function toArray(data: T | Array): Array; /** * Extracts base URL from the provided page URL. Base URL consists of a protocol, a host, a port, and a path. * A hash and search parts are omitted, because they would have navigated to the same page if they were set. */ export declare function getBaseUrl(url: string): string; /** * Checks, if provided string is a valid URL utilizing the HTTP or HTTPS protocols. */ export declare function isUrlValid(url: string): boolean; /** * Checks if URLs are equal after normalization. */ export declare function areSameUrl(firstUrl: string, secondUrl: string): boolean;