import { ConnectionType, StoreAction } from '../actions/index.js'; export interface ConnectionStateOptions { readonly hostname: string; readonly port: number; readonly secure: boolean; } export interface ConnectionState { readonly options: ConnectionStateOptions; readonly type: ConnectionType; } export declare function connection(state: ConnectionState | undefined, action: StoreAction): ConnectionState;