import type * as Abi_ from "viem"; import type { WriteAndTrackError, WriteAndTrackParams, WriteAndTrackResult } from "../../../contract/index.js"; import type { TxState } from "../../../tx/index.js"; import type { ContractFunctionName, ReadParams } from "../../../types/index.js"; import type { StreamState, UseEffectResult } from "../primitives.js"; export declare const useContractRead: >(params: ReadParams, options?: { readonly blockScoped?: boolean | undefined; readonly initial?: Abi_.ContractFunctionReturnType | undefined; readonly ttl?: number | undefined; }) => UseEffectResult, unknown>; export declare const useWatchContractRead: >(params: ReadParams, options?: { readonly blockScoped?: boolean | undefined; readonly initial?: Abi_.ContractFunctionReturnType | undefined; readonly refetchOn?: import("effect/Stream").Stream | undefined; readonly ttl?: number | undefined; }) => StreamState>; export type UseWriteAndTrackActions = { readonly cancel: () => void; readonly speedup: () => void; }; export type UseWriteAndTrackResult = { readonly actions?: UseWriteAndTrackActions | undefined; readonly result: UseEffectResult, WriteAndTrackError>; readonly send: () => void; readonly state: TxState; }; export declare const useWriteAndTrack: >(params: WriteAndTrackParams) => UseWriteAndTrackResult; //# sourceMappingURL=index.d.ts.map