import type { AlchemyAccountsConfig, Connection } from "../types"; export declare function watchConnection(config: AlchemyAccountsConfig): (onChange: (connection: Connection) => void) => () => void;