@wagmi/cli
Version:
Manage and generate code from Ethereum ABIs
13 lines • 491 B
TypeScript
import type { Plugin } from '../config.js';
import type { Compute, RequiredBy } from '../types.js';
export type ReactConfig = {
getHookName?: 'legacy' | ((options: {
contractName: string;
itemName?: string | undefined;
type: 'read' | 'simulate' | 'watch' | 'write';
}) => `use${string}`);
};
type ReactResult = Compute<RequiredBy<Plugin, 'run'>>;
export declare function react(config?: ReactConfig): ReactResult;
export {};
//# sourceMappingURL=react.d.ts.map