/** * Return whether the passed event has the 'ctrl' key (or 'meta' key on Mac) pressed or not. * * @param {JQuery.Event|KeyboardEvent} evt Event. * @returns {boolean} */ export function isEventUsingCtrlKey(evt: JQuery.Event | KeyboardEvent): boolean; /** * Same as `ol.events.condition.platformModifierKeyOnly` but for JQuery.Event. * * @param {JQuery.Event} evt Event. * @returns {boolean} True if only the platform modifier key (ctrl) is pressed. * @private */ export function isPlatformModifierKeyOnly(evt: JQuery.Event): boolean; /** * Same as `ol.events.condition.shiftKeyOnly` but for JQuery.Event. * * @param {JQuery.Event} evt Event. * @returns {boolean} True if only the shift key is pressed. * @private */ export function isShiftKeyOnly(evt: JQuery.Event): boolean; /** * Return whether the primary pointing device is coarse or 'false' if unsupported (Internet Explorer). * See https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer * * @returns {boolean} */ export function hasCoarsePointingDevice(): boolean; /** * @param {string[]} availableLanguages Available languages. * @returns {string} The "best" language code. */ export function getBrowserLanguage(availableLanguages: string[]): string; /** * Utility method that converts a simple geometry to its multi equivalent. If * the geometry itself is already multi, it is returned as-is. * * @param {import('ol/geom/Geometry').default} geometry A geometry * @returns {import('ol/geom/Geometry').default} A multi geometry * @hidden */ export function toMulti(geometry: import("ol/geom/Geometry").default): import("ol/geom/Geometry").default; /** * Checks if on Safari. * * @returns {boolean} True if on Safari. * @hidden */ export function isSafari(): boolean; /** * Takes a hex value and prepends a zero if it's a single digit. * * @param {string} hex Hex value to prepend if single digit. * @returns {string} hex value prepended with zero if it was single digit, * otherwise the same value that was passed in. * @hidden */ export function colorZeroPadding(hex: string): string; /** * Converts a color from RGB to hex representation. * * @param {number[]} rgb rgb representation of the color. * @returns {string} hex representation of the color. * @hidden */ export function rgbArrayToHex(rgb: number[]): string; /** * Decode the encoded query string into a query data dictionary. * * @param {string|undefined} queryString The queryString. * @returns {Object} The result. * @hidden */ export function decodeQueryString(queryString: string | undefined): { [x: string]: string; }; /** * Encode the query data dictionary into an encoded query string. * * @param {Object} queryData The queryData, * @returns {string} The result. * @hidden */ export function encodeQueryString(queryData: { [x: string]: string; }): string; /** * Delete condition passed to the modify interaction * * @param {import('ol/MapBrowserEvent').default} event Browser event. * @returns {boolean} The result. * @hidden */ export function deleteCondition(event: import("ol/MapBrowserEvent").default): boolean; /** * Takes an import('ol/extent').Extent and return an Array of * ol.Coordinate representing a rectangle polygon. * * @param {import('ol/extent').Extent} extent The extent. * @returns {import('ol/coordinate').Coordinate[]} The Array of coordinate of the rectangle. */ export function extentToRectangle(extent: import("ol/extent").Extent): import("ol/coordinate").Coordinate[]; /** * Return the screen DPI. * * @returns {number} The screen DPI. */ export function dpi(): number; export function isWebGLSupported(): any; export function createLayerTileOrWebGLTile(options?: import("ol/layer/WebGLTile").Options): (import("ol/layer/WebGLTile").default | import("ol/layer/Tile").default);