import * as React from 'react'; import type { CalculateBirthDayResponse, CalculateExpressionResponse, CalculateLifePathResponse, CalculateMaturityResponse, CalculatePersonalDayResponse, CalculatePersonalMonthResponse, CalculatePersonalYearResponse, CalculatePersonalityResponse, CalculateSoulUrgeResponse, GenerateNumerologyChartResponse, GetDailyNumberResponse } from '../types/index.js'; type ElementAttrs = Omit, 'children' | 'data'>; export interface RoxyNumerologyCardProps extends ElementAttrs { /** Spec-derived response payload. Pass the raw RoxyAPI response. */ data?: CalculateLifePathResponse | CalculateExpressionResponse | CalculateSoulUrgeResponse | CalculatePersonalityResponse | CalculateBirthDayResponse | CalculateMaturityResponse | GetDailyNumberResponse | CalculatePersonalDayResponse | CalculatePersonalMonthResponse | CalculatePersonalYearResponse | GenerateNumerologyChartResponse; className?: string; style?: React.CSSProperties; /** Which numerology response the card is showing. Selects the heading and which fields are surfaced. */ type?: 'life-path' | 'expression' | 'soul-urge' | 'personality' | 'birth-day' | 'maturity' | 'daily' | 'personal-day' | 'personal-month' | 'personal-year' | 'chart'; /** Endpoint path for built-in self-fetch (uncontrolled mode), e.g. "astrology/natal-chart". The component renders its own input form, fetches with the publishable key, and displays the result. Leave unset for controlled mode (pass `data`). */ endpoint?: string; /** HTTP method for the self-fetch request. Defaults to POST. */ method?: 'GET' | 'POST'; /** Browser-safe publishable key (pk_) for self-fetch. A secret key is refused client-side and never sent. */ publishableKey?: string; /** Override the API origin for self-hosted or proxied deployments. */ baseUrl?: string; /** Override the OpenAPI spec URL the self-fetch form introspects. */ specUrl?: string; /** Response language for self-fetch, forwarded to the API `lang` query parameter (en, tr, de, es, hi, pt, fr, ru). The form never shows a language field; the site owner sets it here. Defaults to English. */ lang?: string; /** Override the self-fetch form submit-button label. Empty derives an outcome-first label from the endpoint (Get reading, Generate, Compare, Cast). */ submitLabel?: string; /** Render a small "Spiritual data by RoxyAPI" credit under a self-fetch result, linking back to RoxyAPI. Off by default; set any value to enable, or "off" to force it off. Never shown in controlled mode. */ attribution?: string; } export declare const RoxyNumerologyCard: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=numerology-card.d.ts.map