import { AIShopApi, CVForceDatahubApi, IVersion, ModelServiceApi } from '@glodon-aiot/apis'; import { TokenGetter } from './utils'; export interface LabelManager { visible?: boolean; add?: boolean; delete?: boolean; edit?: boolean; } export interface DatasetManager { add?: boolean; delete?: boolean; label?: boolean; preLabel?: boolean; vlmDwgImport?: boolean; } export interface AnnotationConfig { zoomable?: boolean; draggable?: boolean; readonly?: boolean; } export interface FilterSwitch { tabs?: boolean; labels?: boolean; search?: boolean; } export interface HeaderConfig { versionSelect?: boolean; onBackClick?: VoidFunction; onVersionChange?: (version?: IVersion) => void; } export interface FeaturesConfig { labelManager?: false | LabelManager; datasetManager?: false | DatasetManager; annotation?: AnnotationConfig; filterSwitch?: FilterSwitch; header?: false | HeaderConfig; exampleSrcRoot?: string; vlmExampleSrcRoot?: string; } export type LabelFilter = 'hascode' | 'nocode' | 'pending' | ''; export interface AnnotationProps extends FeaturesConfig { datasetId: string; versionId?: string; services: { cvforceDatahub: CVForceDatahubApi; cvforceModelService: ModelServiceApi; aiShop?: AIShopApi; }; backTo?: string; token?: string; getToken?: TokenGetter; apiUrl?: string; } export declare const EXAMPLE_SRC_ROOT = "https://cv-aiot.obs.cn-north-4.myhuaweicloud.com:443/demodata"; export declare const VLM_EXAMPLE_SRC_ROOT = "https://sjzn-cv-data.obs.cn-north-4.myhuaweicloud.com:443/dataset_data"; export declare const MANAGE_MODE_FEATURES: FeaturesConfig; export declare const LABEL_MODE_FEATURES: FeaturesConfig; export declare const VIEW_MODE_FEATURES: FeaturesConfig;