export declare enum MAP_DB_TABLES {
    MAP_VERSION = "map_version",// 版本
    ROUTE_VERSION = "route_version",// 路网版本
    FACILITY_VERSION = "facility_version",// 设施版本
    MAP_DATA = "map_data",// 地图数据
    ROAD_NETWORK_DATA = "road_network_data",// 路网
    FACILITY_DATA = "facility_data",// 设施
    POI_TEXT = "poi_text",// poi文本
    LAZY_TEXTURE = "lazy_texture",// poi纹理
    LAZY_POI = "lazy_poi"
}
/**
 * 获取indexDb连接
 * @param database
 * @returns
 */
export declare function createDb(database?: string, version?: number): Promise<{
    db: IDBDatabase;
    type: string;
}>;
/**
 * 查询数据
 * @param storeName
 * @param key
 * @param db
 * @returns
 */
export declare function get(storeName: string, key: string, db?: IDBDatabase): Promise<unknown>;
/**
 * 添加数据
 * @param storeName
 * @param key
 * @param value
 * @param db
 * @returns
 */
export declare function set(storeName: string, key: string, value: any, db?: IDBDatabase, forceAdd?: boolean): Promise<unknown>;
/**
 * 创建数据表
 * @param storeName
 * @param db
 * @returns
 */
export declare function createStore(storeName: string, db?: IDBDatabase): void;
/**
 * 删除数据
 * @param storeName
 * @param key
 * @param db
 * @returns
 */
export declare function remove(storeName: string, key: string, db?: IDBDatabase): Promise<unknown>;
/**
 * 更新数据
 * @param storeName
 * @param key
 * @param value
 * @param db
 * @returns
 */
export declare function update(storeName: string, key: string, value: any, db?: IDBDatabase): Promise<unknown>;
export declare function closeDb(db?: IDBDatabase): void;
