export default function resolvePathScope(scope: string | Object): Object | { state: { get: (obj: any) => any; set: (state: any, childState: any) => unknown; }; '*': string; };