@plurid/joiner
Version:
Multi/Mono-Repository Task Runner
17 lines (16 loc) • 607 B
TypeScript
import { AnyAction } from 'redux';
import { ThunkDispatch } from 'redux-thunk';
import actions from '~kernel-services/state/actions';
/**
* Get current owner.
*
* @param dispatch
*/
declare const getCurrentOwner: (dispatch: ThunkDispatch<{}, {}, AnyAction>) => Promise<boolean>;
/**
* Get current owner and return true if set.
*
* @param setViewUsageType
*/
declare const getUsageType: (setViewUsageType: (usageType: string) => import("../../state/modules/view/types").SetViewUsageTypeAction) => Promise<"private" | "general" | undefined>;
export { getCurrentOwner, getUsageType, };