/** * This middleware is tenancy aware, so that it does not depend on other middlewares being used. * The tenancy modules should not be used here and it should be assumed that the tenancy context * has not yet been populated. */ declare const _default: (noAuthPatterns?: never[], opts?: { publicAllowed: boolean; populateUser?: Function; }) => (ctx: any, next: any) => Promise; export = _default;