export class RestfulRequest {
    constructor({ endpoint, actionPrefix, resultPropName, storeAsDictionary, }?: {
        endpoint: any;
        actionPrefix: any;
        resultPropName: any;
        storeAsDictionary: any;
    });
    endpoint: null;
    actionPrefix: null;
    resultPropName: string;
    storeAsDictionary: boolean;
    actions: {
        requestStarted: string;
        requestSuccessful: string;
        requestFailed: string;
        resetRequest: string;
    };
    trigger: (params: any) => (dispatch: any) => Promise<void>;
    reset: () => (dispatch: any) => any;
    mergeToDictionary: (dict: any, result: any) => any;
    getReducers: () => {
        [x: string]: ((state: any, { payload: { result } }: {
            payload: {
                result: any;
            };
        }) => any) | ((state: any, { payload: { error } }: {
            payload: {
                error: any;
            };
        }) => any);
    };
    getDefaultState: () => {
        [x: string]: boolean | null;
        loading: boolean;
        fetched: boolean;
        error: null;
    };
}
