geoiq-frontend-ui-kit
Version:
This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.
12 lines (11 loc) • 460 B
TypeScript
import { BackgroundState } from '../types';
export declare const loadImage: (url: string) => Promise<HTMLImageElement>;
export declare const isPointInImage: (x: number, y: number, bgState: BackgroundState, dimensions: {
width: number;
height: number;
}) => boolean;
export declare const getInitialPositionInImage: (width: number, height: number, bgState: BackgroundState) => {
x: number;
y: number;
};
//# sourceMappingURL=image.utils.d.ts.map