import type { Address } from "viem"; import { type NonceManager } from "viem/nonce"; /** The identity whose local sends must reach terminal broadcast results in order. */ export interface LocalSendKey { readonly address: Address; readonly chainId: number; } /** Owner-held nonce and send coordination shared by every derived trader. */ export interface WriterRuntime { readonly nonceManager: NonceManager; readonly runLocalSend: (key: LocalSendKey, task: () => Promise) => Promise; } /** Build the writer state owned by one configured Markets client. */ export declare function makeWriterRuntime(): WriterRuntime;