@ishubhamx/panchangam-js
Version:
Enhanced Indian Panchangam (Hindu Calendar) library with comprehensive Vedic features including Muhurta calculations, planetary positions, Rashi placements, and auspicious/inauspicious time calculations
35 lines • 1.22 kB
TypeScript
/**
* Disha Shoola - Direction-based Travel Dosha
*
* Certain directions are inauspicious for travel on specific weekdays.
* This is a traditional Vedic concept used in Panchang calculations.
*/
export interface DishaShoola {
vara: number;
varaName: string;
inauspiciousDirection: string;
safeDirections: string[];
}
/**
* Get Disha Shoola information for a given weekday
*
* @param vara - Day of week index (0 = Sunday, 6 = Saturday)
* @returns DishaShoola object with inauspicious and safe directions
*
* @example
* ```typescript
* const shoola = getDishaShoola(0); // Sunday
* console.log(shoola.inauspiciousDirection); // "West"
* console.log(shoola.safeDirections); // ["East", "North", "South"]
* ```
*/
export declare function getDishaShoola(vara: number): DishaShoola;
/**
* Check if a specific direction is safe for travel on a given day
*
* @param vara - Day of week index (0 = Sunday, 6 = Saturday)
* @param direction - Direction to check ('East', 'West', 'North', 'South')
* @returns true if direction is safe, false if it's the Shoola direction
*/
export declare function isDirectionSafe(vara: number, direction: string): boolean;
//# sourceMappingURL=shoola.d.ts.map