import * as React from 'react'; import type { GetDailyHoroscopeResponse, GetMonthlyHoroscopeResponse, GetWeeklyHoroscopeResponse } from '../types/index.js'; type ElementAttrs = Omit, 'children' | 'data'>; export interface RoxyHoroscopeCardProps extends ElementAttrs { /** Spec-derived response payload. Pass the raw RoxyAPI response. */ data?: GetDailyHoroscopeResponse | GetWeeklyHoroscopeResponse | GetMonthlyHoroscopeResponse; className?: string; style?: React.CSSProperties; /** Which horoscope cadence the response is for. Selects the heading and date framing. */ period?: 'daily' | 'weekly' | 'monthly'; /** 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 RoxyHoroscopeCard: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=horoscope-card.d.ts.map