///
import { Reducer } from 'redux';
import { Identifier, ReduxState } from '../../../types';
interface State {
[relatedTo: string]: {
ids: Identifier[];
total: number;
};
}
declare const oneToManyReducer: Reducer;
export declare const getIds: (state: ReduxState, relatedTo: string) => import("react").ReactText[];
export declare const getTotal: (state: ReduxState, relatedTo: string) => number;
export declare const getReferences: (state: ReduxState, reference: any, relatedTo: any) => any;
export declare const getReferencesByIds: (state: ReduxState, reference: string, ids: import("react").ReactText[]) => any;
export declare const nameRelatedTo: (reference: string, id: import("react").ReactText, resource: string, target: string, filter?: object) => string;
export default oneToManyReducer;