import { ImageService2, ImageService3, Service } from '@iiif/presentation-3';
import { Bounds, CozyImageResource, GetRegionURLOpts } from '../types';
type ImageService = ImageService2 | ImageService3;
export declare const isImageService: (data: any) => data is ImageService;
export declare const parseImageService: (service: Service) => {
    majorVersion: number;
    profileLevel: number;
} | undefined;
export declare const getImageURLFromService: (service: Service, width: number, height: number) => string;
export declare const getRegionURLFromService: (service: Service, bounds: Bounds, opts?: GetRegionURLOpts) => string | undefined;
export declare const getRegionURL: (image: CozyImageResource) => (bounds: Bounds, opts?: GetRegionURLOpts) => string | undefined;
export {};
