import type { GrantPayload } from "../core/types.js"; /** Props for the {@link ConnectButton} component. */ export interface ConnectButtonProps { /** Session ID from the server-side `connect()` call. */ sessionId: string; /** URL to account.vana.org/connect. */ connectUrl?: string; /** Called when the user approves the grant. */ onComplete?: (grant: GrantPayload) => void; /** Called on polling errors. */ onError?: (error: string) => void; /** Called when the user denies the request. */ onDenied?: (reason: string) => void; /** CSS class name for the wrapper element. */ className?: string; /** Label for the connect anchor (default: `"Connect with Vana"`). */ label?: string; } /** * Pre-built React component that displays connection status and a deep link. * * For full control over the UI, use {@link useVanaConnect} or {@link useVanaData} directly. * * @param props - Component props. */ export declare function ConnectButton(props: ConnectButtonProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=ConnectButton.d.ts.map