/// import { EventEmitter } from 'events'; import type { PowerApp } from '@makeflow/types'; import type { Dict } from 'tslang'; import { Config } from '../config'; import { MFUserCandidate } from '../types/makeflow'; import { AgentService } from './agent-service'; import { DBService } from './db-service'; import { RunningService } from './running-service'; import { TokenService } from './token-service'; export declare class MakeflowService { private agentService; private runningService; private tokenService; private dbService; private eventEmitter; private config; constructor(agentService: AgentService, runningService: RunningService, tokenService: TokenService, dbService: DBService, eventEmitter: EventEmitter, config: Config); listUserCandidates(username: string, password: string): Promise; authenticate(username: string, password: string, userId: string): Promise; checkAuthentication(): boolean; updatePowerItem({ id, stage, description, outputs, }: { id: string; stage?: 'done' | 'none'; description?: string; outputs?: Dict; }): Promise; triggerAction(actionName: string, powerItemToken: string, inputs: Dict, accessToken: string): Promise; publishPowerApp(): Promise; generateAppDefinition(): Promise; private increasePowerAppVersion; private requestAPI; }