import { Action, ActionConfig, ActionExtension } from '../index'; export default function generateActionsWithAuth(resourceWithNamespace: string, actions: Action[], requestCallback: Function, extention: ActionExtension, config: ActionConfig): { [x: string]: ((ctx: any, payload: any) => void | Promise) | (({ commit, state }: { commit: any; state: any; }, { force: force, query: query, headers: headers }: { force: any; query: any; headers: any; }) => Promise) | (({ commit }: { commit: any; }) => void) | (({ commit, state }: { commit: any; state: any; }, { force: force, query: query, headers: headers }: { force: any; query: any; headers: any; }) => Promise) | (({ commit }: { commit: any; }) => void) | (({ commit, state }: { commit: any; state: any; }) => Promise) | (({ commit, state }: { commit: any; state: any; }, { query: query, headers: headers, record: record }: { query: any; headers: any; record: any; }) => Promise) | (({ commit, dispatch, state }: { commit: any; dispatch: any; state: any; }, { id: id, force: force, query: query, headers: headers }: { id: any; force: any; query: any; headers: any; }) => Promise) | (({ commit, state }: { commit: any; state: any; }, { query: query, headers: headers, record: record }: { query: any; headers: any; record: any; }) => Promise) | (({ commit }: { commit: any; }, { id: id, query: query, headers: headers }: { id: any; query: any; headers: any; }) => Promise); };