import { Module, PisellCore } from '../../../types';
import { BaseModule } from '../../../modules/BaseModule';
import { type FloorPlanItem } from './types';
/**
 * 平面图模块：预加载列表、pubsub 同步、供 OS Server 路由读本地 store
 */
export declare class FloorPlanModule extends BaseModule implements Module {
    protected defaultName: string;
    protected defaultVersion: string;
    private store;
    private request;
    private logger;
    private floorPlanDataSource;
    private pendingSyncMessages;
    private syncTimer?;
    constructor(name?: string, version?: string);
    initialize(core: PisellCore, options: any): Promise<void>;
    private logInfo;
    private logWarning;
    private logError;
    private idKey;
    private syncMaps;
    /** 与接口约定一致：sort 升序，id 降序 */
    getSortedList(): FloorPlanItem[];
    getById(id: number | string): FloorPlanItem | undefined;
    getByCode(code: string): FloorPlanItem | undefined;
    private replaceStore;
    private mergeItems;
    private removeByIds;
    private loadListFromServer;
    fetchByIdFromServer(id: number | string): Promise<FloorPlanItem | null>;
    fetchByCodeFromServer(code: string): Promise<FloorPlanItem | null>;
    preload(): Promise<void>;
    private initFloorPlanDataSource;
    private setupFloorPlanSync;
    private processFloorPlanSyncMessages;
    clear(): Promise<void>;
    destroy(): void;
}
