import { Acl } from '@contember/schema'; import { ProjectMembershipFetcher } from './ProjectMembershipFetcher'; import { ParsedMembership } from '@contember/schema-utils'; interface HttpRequest { body?: unknown; get(header: string): string; } export declare class ProjectMembershipResolver { private readonly debug; private readonly projectMembershipFetcher; constructor(debug: boolean, projectMembershipFetcher: ProjectMembershipFetcher); resolveMemberships({ request, acl, projectSlug, identity }: { acl: Acl.Schema; request: HttpRequest; projectSlug: string; identity: { identityId: string; personId?: string; roles?: readonly string[]; }; }): Promise<{ effective: readonly ParsedMembership[]; fetched: readonly Acl.Membership[]; }>; private readAssumedMemberships; private readAssumeMembershipJson; private verifyAssumedRoles; } export {}; //# sourceMappingURL=ProjectMembershipResolver.d.ts.map