import type { AlchemyAccountsConfig, Connection } from "../types"; /** * Subscribe to changes to the active connection * * @param config the account config * @returns a function which takes an onChange callback and returns an unsubscribe function */ export declare function watchConnection(config: AlchemyAccountsConfig): (onChange: (connection: Connection) => void) => () => void; //# sourceMappingURL=watchConnection.d.ts.map