import { Response } from './base.js'; import CommonService, { DataItem } from './common.js'; import SceneService from './scene.js'; export interface APIInfo extends DataItem { method: 'POST' | 'GET'; dynamic?: boolean; } export default class APIService extends CommonService { groupId: string; constructor(groupId: string); add(g: Omit): Response; update(g: APIInfo): void; switchGroup(targetGroupId: string, apiId: string): Response; delete(apiId: string): Response; protected getChildrenService(apiId: string): SceneService; private _updateApiNames; }