nhb-toolbox
Version:
A versatile collection of smart, efficient, and reusable utility functions and classes for everyday development needs.
16 lines • 692 B
TypeScript
import type { ZodiacOptions, ZodiacSign } from '../types';
type MainChronos = typeof import('../Chronos').Chronos;
declare module '../Chronos' {
interface Chronos {
/**
* @instance Returns the zodiac sign based on current date or `birthDate` option.
* @param options Optional config to choose preset or provide custom zodiac date ranges.
* @returns The matching zodiac sign from preset/custom list.
*/
getZodiacSign(options?: ZodiacOptions): ZodiacSign;
}
}
/** * Plugin to inject `getZodiacSign` method */
export declare const zodiacPlugin: (ChronosClass: MainChronos) => void;
export {};
//# sourceMappingURL=zodiacPlugin.d.ts.map