import { ServiceName, SyncState, ServiceStatus, BroadcastChannelMessage } from '../../backend/types/services';
type BackendState = {
    dbPendingWrites: number;
    syncState: SyncState;
    services: {
        [key in ServiceName]: {
            status: ServiceStatus;
            error?: string;
            message?: string;
        };
    };
};
declare function backendReducer(state: BackendState, action: BroadcastChannelMessage): BackendState;
export default backendReducer;
