import * as plugins from './sdk.plugins'; import { AuthInfo } from './sdk.classes.authinfo'; export interface IRequirementResult { allOk: boolean; reason: string; } export abstract class AAgHandler { /** * a slug that separates the handler from other handlers */ public abstract slug: string; public abstract typedrouter: plugins.typedrequest.TypedRouter; public abstract checkReqirements(): Promise; /** * start the ag-handler */ public abstract start(): Promise; public abstract stop(): Promise; }