import { EntityAdapter, EntityState } from "@ngrx/entity"; import { ChefPlatformUserAccountsOrganizationRead, ChefPlatformUserAccountsRoleRead } from "@progress-chef/platform-code-gen-store-services"; import { SharedNgrxKeys } from "../../../shared-ngrx-constants"; export interface OrganizationsState extends EntityState { [SharedNgrxKeys.CREATE_STATUS]: string; } export interface OrgRoleMap { [key: string]: Array; } export interface RolesState extends EntityState { [SharedNgrxKeys.CREATE_STATUS]: string; [SharedNgrxKeys.ORG_ROLE_MAP]: OrgRoleMap; } export interface SelfEntityState { [SharedNgrxKeys.ORGANIZATIONS]: OrganizationsState; [SharedNgrxKeys.ROLES]: RolesState; } export declare const organizationsEntityAdapter: EntityAdapter; export declare const OrganizationsInitialState: OrganizationsState; export declare const rolesEntityAdapter: EntityAdapter; export declare const RolesInitialState: RolesState; export declare const SelfInitialState: SelfEntityState; export declare function selfEntityReducer(state: SelfEntityState | undefined, action: any): SelfEntityState;