import { AuthStates, States } from 'socketcluster-client/lib/clientsocket';
import { StoreAction } from '../actions';
export interface SocketState {
    id: string | null;
    channels: string[];
    socketState: States;
    authState: AuthStates | 'pending';
    error: Error | undefined;
    baseChannel?: string;
    authToken?: null;
}
export declare function socket(state: SocketState | undefined, action: StoreAction): SocketState;
