export function deg2rad(degrees: any): number; /** * @param {number} width Width of the canvas. * @param {number} height Height of the canvas. * @return {HTMLCanvasElement} Canvas. */ export function createCanvas(width: number, height: number): HTMLCanvasElement; export function getZoomForResolution(resolution: any, resolutions: any): number; /** * @param {ResourceType} resourceType Type of resource to load. * @param {string} url Url of the resource. * @param {Options} [options={}] Options. * @return {Promise} Promise that resolves with the loaded resource * or rejects with the Response object. * @private */ export function fetchResource(resourceType: ResourceType, url: string, options?: import("./apply.js").Options | undefined): Promise; export function getGlStyle(glStyleOrUrl: any, options: any): Promise; /** * @param {Object} glSource glStyle source object. * @param {string} styleUrl Style URL. * @param {Options} options Options. * @return {Object} TileJson */ export function getTileJson(glSource: any, styleUrl: string, options?: Options): any; export const defaultResolutions: number[]; export type Options = import("./apply.js").Options; export type ResourceType = import('./apply.js').ResourceType;