import React from "react"; import type { Chain, Transport } from "viem"; interface InjectWagmiConnectorProps extends React.PropsWithChildren { /** * The chain to connect to. * @type {Chain} */ chain: Chain; /** * Optional transport configuration for the provider. * @type {Transport} * @optional */ transport?: Transport; } /** * InjectWagmiConnector is a React component that injects the Abstract Wallet provider into Wagmi's connector system. * It handles the setup and reconnection of the wallet provider when ready. * * @example * ```tsx * import { InjectWagmiConnector } from '@abstractwallet/agw-react'; * * const App = () => { * return ( * * * * ); * }; * ``` * * @param {InjectWagmiConnectorProps} props - The component props * @param {Chain} props.chain - The blockchain network to connect to * @param {Transport} [props.transport] - Optional transport configuration for the provider * @param {React.ReactNode} props.children - Child components to render */ export declare const InjectWagmiConnector: (props: InjectWagmiConnectorProps) => React.JSX.Element; export {}; //# sourceMappingURL=injectWagmiConnector.d.ts.map