import { ReferenceMapStyle, MapStyleVariant } from '@maptiler/client';
export declare function styleToStyle(style: string | ReferenceMapStyle | MapStyleVariant | maplibregl.StyleSpecification | null | undefined): {
    style: string | maplibregl.StyleSpecification;
    requiresUrlMonitoring: boolean;
    isFallback: boolean;
    isJSON?: boolean;
};
/**
 * makes sure a URL is absolute
 */
export declare function urlToAbsoluteUrl(url: string): string;
type StyleValidationReport = {
    isValidJSON: boolean;
    isValidStyle: boolean;
    styleObject: maplibregl.StyleSpecification | null;
};
export declare function convertStringToStyleSpecification(str: string): StyleValidationReport;
export {};
