import ReactEcs, { type ReactBasedUiSystem } from '@dcl/react-ecs'; import { type Entity, type IEngine, type PointerEventsSystem } from '@dcl/ecs'; import { type GetPlayerDataRes, type IPlayersHelper, type ISDKHelpers } from '../definitions'; import { type SceneAdmin } from './ModerationControl'; import { type SceneBanUser } from './ModerationControl/api'; export { setAdminConfig, clearAdminConfig, getAdminConfig, getAdminEntityOrNull } from './config'; export declare function getSceneAdminsCache(): SceneAdmin[]; export declare function getSceneBansCache(): SceneBanUser[]; declare function getAdminToolkitComponent(engine: IEngine): import("@dcl/ecs").DeepReadonlyObject<{ adminPermissions: import("../constants").AdminPermissions; authorizedAdminUsers: import("@dcl/ecs").MapResult<{ me: import("@dcl/ecs").ISchema; sceneOwners: import("@dcl/ecs").ISchema; allowList: import("@dcl/ecs").ISchema; adminAllowList: import("@dcl/ecs").ISchema; }>; moderationControl: import("@dcl/ecs").MapResult<{ isEnabled: import("@dcl/ecs").ISchema; kickCoordinates: import("@dcl/ecs").ISchema; y: import("@dcl/ecs").ISchema; z: import("@dcl/ecs").ISchema; }>>; allowNonOwnersManageAdminAllowList: import("@dcl/ecs").ISchema; }>; smartItemsControl: import("@dcl/ecs").MapResult<{ isEnabled: import("@dcl/ecs").ISchema; linkAllSmartItems: import("@dcl/ecs").ISchema; smartItems: import("@dcl/ecs").ISchema; customName: import("@dcl/ecs").ISchema; defaultAction: import("@dcl/ecs").ISchema; }>[] | undefined>; }>; textAnnouncementControl: import("@dcl/ecs").MapResult<{ isEnabled: import("@dcl/ecs").ISchema; playSoundOnEachAnnouncement: import("@dcl/ecs").ISchema; showAuthorOnEachAnnouncement: import("@dcl/ecs").ISchema; }>; videoControl: import("@dcl/ecs").MapResult<{ isEnabled: import("@dcl/ecs").ISchema; disableVideoPlayersSound: import("@dcl/ecs").ISchema; showAuthorOnVideoPlayers: import("@dcl/ecs").ISchema; linkAllVideoPlayers: import("@dcl/ecs").ISchema; videoPlayers: import("@dcl/ecs").ISchema; customName: import("@dcl/ecs").ISchema; }>[] | undefined>; }>; }>; export declare function fetchSceneAdmins(): Promise; export declare function fetchAndSyncSceneAdmins(): Promise; export declare function fetchSceneBans(): Promise; export declare function clearSceneBansCache(): void; export declare function getSmartItems(engine: IEngine): import("@dcl/ecs").DeepReadonlyObject; customName: import("@dcl/ecs").ISchema; defaultAction: import("@dcl/ecs").ISchema; }>>[]; export declare function initializeAdminData(engine: IEngine, sdkHelpers?: ISDKHelpers, playersHelper?: IPlayersHelper): Promise; export type AdminPanelRenderer = (engine: IEngine, pointerEventsSystem: PointerEventsSystem, sdkHelpers?: ISDKHelpers, playersHelper?: IPlayersHelper) => ReturnType; export declare function createAdminToolkitUI(engine: IEngine, pointerEventsSystem: PointerEventsSystem, reactBasedUiSystem: ReactBasedUiSystem, sdkHelpers?: ISDKHelpers, playersHelper?: IPlayersHelper, renderPanel?: AdminPanelRenderer): Entity; export declare function isAllowedAdmin(_engine: IEngine, adminToolkitEntitie: ReturnType, player: GetPlayerDataRes | null | undefined): boolean | SceneAdmin; declare const uiComponent: (engine: IEngine, _pointerEventsSystem: PointerEventsSystem, _sdkHelpers?: ISDKHelpers, playersHelper?: IPlayersHelper) => (false | ReactEcs.JSX.Element | undefined)[];