import { ConnectionType, StoreAction } from '../actions';
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;
