import { type VariantProps } from 'class-variance-authority'; import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result'; import { type BishopComponent, type BishopSelection, type BishopResult } from './bishop'; declare const rootVariants: (props?: ({ width?: "auto" | "full" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface BishopScoreProps extends VariantProps { /** Fires whenever all five findings are set (and `null` when not). */ onResultChange?: (result: BishopResult | null) => void; /** When provided, shows the result-action buttons that emit / copy the result. */ onInsert?: (payload: InsertPayload) => void; /** Which verb the result button performs. Defaults to `'insert'`. */ insertVariant?: InsertVariant; /** `copy` variant only — fired after a successful clipboard write. */ onCopy?: (mode: InsertMode) => void; /** `copy` variant only — fired if the clipboard write can't proceed. */ onError?: (error: unknown) => void; /** Brand wordmark printed in the inserted/copied result-card footer. */ insertBrand?: string | false; /** Opaque instance id, emitted as `data-component-id`. */ id?: string; /** Extra class names on the wrapper. */ className?: string; } /** * Curated imperative handle for agent / external automation. Exposes the * structural exam findings + computed result and lets a caller set one * finding at a time. Never exposes patient identity. Consumed by the * `bishop-score.agent.ts` adapter; the public `ref` stays the DOM element. */ export interface BishopScoreHandle { /** Snapshot of the five findings keyed by component. */ getSelection: () => BishopSelection; /** Current computed result, or null until all five findings are set. */ getResult: () => BishopResult | null; /** Set one finding to an enumerated option value (unknown pairs are ignored). */ setComponent: (component: BishopComponent, value: string) => void; /** Clear all findings. */ reset: () => void; } export declare const BishopScore: import("react").ForwardRefExoticComponent>; export {}; //# sourceMappingURL=bishop-score.d.ts.map