/** * — embeddable PA lookup widget. * * Pure web component (Lit). Works anywhere — standalone HTML, React apps, * Vue, and Salesforce Lightning pages via a thin LWC wrapper. * * Usage: * * * * * Attributes: * api-key — Auth57 API key (required) * state — 2-letter state code * program — medicaid_ffs | medicare_advantage | ... * drug — drug class code (mutually exclusive with service) * service — service category code (mutually exclusive with drug) * auto-query — if present, fire the query on attribute change * base-url — override API host (default: https://api.auth57.io) * * Events: * auth57-result (detail: PaLookupResponse) — successful lookup * auth57-error (detail: Auth57Error) — failed lookup * * Styling: uses CSS custom properties that fall through Shadow DOM. * --auth57-accent, --auth57-accent-cta, --auth57-bg, --auth57-text */ import { LitElement, type PropertyValues } from 'lit'; import { type Program, type StateCode } from '../types.js'; export declare class Auth57PaLookup extends LitElement { static styles: import("lit").CSSResult; /** Auth57 API key. Required. */ apiKey: string; state: StateCode | ''; program: Program | ''; drug: string; service: string; /** If present, fires a lookup whenever inputs change. */ autoQuery: boolean; /** Override base API URL (useful for staging). */ baseUrl: string; private status; private response; private errorMessage; updated(changed: PropertyValues): void; /** Imperative API — call from JS to trigger a lookup. */ query(): Promise; render(): import("lit-html").TemplateResult<1>; private renderSkeleton; private renderResult; } declare global { interface HTMLElementTagNameMap { 'auth57-pa-lookup': Auth57PaLookup; } } //# sourceMappingURL=pa-lookup.d.ts.map