import type { FlexBoxProps } from '@ariestools/sdk-react/flexbox'; import type { ReactNode } from 'react'; import type { To } from 'react-router'; /** Callbacks for xNS name purchase/capture flows. */ export interface XnsNameCaptureBuyCallbacks { onCaptureName?: (name: string) => Promise; } /** Analytics tracking fields for xNS name capture user actions. */ export interface XnsNameCaptureTrackingProps { funnel?: string; intent?: string; placement?: string; } /** Route-derived props used for navigation in xNS name capture. */ export interface XnsNameCaptureRoutingProps { navigate?: (to: string) => void; paramsString?: string; routingError?: Error; to?: To; } /** Base UI and event props for the xNS name capture component. */ export interface XnsNameCaptureBaseProps { autoFocus?: boolean; buttonText?: string; defaultXnsName?: string; disabled?: boolean; errorUi?: 'alert' | 'toast'; mobileButtonText?: string; onNameChange?: (name: string) => void; showSecondary?: boolean | ReactNode; } /** Props for {@link XnsNameCapture}. */ export interface XnsNameCaptureProps extends XnsNameCaptureBaseProps, XnsNameCaptureTrackingProps, XnsNameCaptureBuyCallbacks, XnsNameCaptureRoutingProps, FlexBoxProps { } /** Mixin type that optionally injects an xNS name capture component. */ export type WithXnsCapture = T & { XnsCapture?: React.FC; }; //# sourceMappingURL=Props.d.ts.map