import { PropsWithChildren } from 'react'; import type { RegisteredEntity } from '../../../core/schema-types'; import type { EntityRegistration } from '../types'; interface Props { initialRegistrations?: EntityRegistration; overrideRegisterEntities?: (entityId: string, registration: RegisteredEntity) => void; } /** * This needs to live here for now as including it within the provider leads to infinite rerenders. * Ideally, registeredEntities would be completely removed in favour of getting the information directly * from the POM via Redux. */ export declare let registrations: EntityRegistration; export declare const RegisteredEntitiesContextProvider: ({ children, initialRegistrations, overrideRegisterEntities, }: PropsWithChildren) => JSX.Element; export {};