salat-first
Version:
Islamic prayer times calculation with special support for Moroccan methods and Maliki madhab
18 lines (17 loc) • 664 B
TypeScript
import { Coordinates } from "../core/coordinates";
/**
* Coordinates of the Kaaba in Makkah
*/
export declare const MAKKAH_COORDINATES: Coordinates;
/**
* Calculates the Qibla direction from a given location
* @param coordinates The coordinates of the location
* @returns The direction in degrees from North clockwise
*/
export declare function calculateQiblaDirection(coordinates: Coordinates): number;
/**
* Gets a human-readable description of the Qibla direction
* @param degrees The direction in degrees from North clockwise
* @returns A description of the direction
*/
export declare function getQiblaDirectionDescription(degrees: number): string;