import Actions from '../../actions'; import Store from '../../store'; export declare type Action = Actions.SelectCollection | Actions.ReceiveCollectionCount; export declare type State = Store.Indexed.Selectable; export declare const DEFAULT_COLLECTION = "default"; export declare const DEFAULTS: State; export default function updateCollections(state: State, action: Action): State; export declare const updateSelected: (state: Store.Indexed.Selectable, selected: string) => { selected: string; byId: { [key: string]: Store.Collection; }; allIds: string[]; }; export declare const receiveCount: (state: Store.Indexed.Selectable, { collection, count: total }: Actions.Payload.Collection.Count) => { byId: { [x: string]: Store.Collection | { total: number; name: string; }; }; selected?: string; allIds: string[]; };