UNPKG

@mdf.js/openc2-core

Version:

MMS - API Core - OpenC2

24 lines 866 B
/** * Copyright 2024 Mytra Control S.L. All rights reserved. * * Use of this source code is governed by an MIT-style license that can be found in the LICENSE file * or at https://opensource.org/licenses/MIT. */ import { Registry } from '../modules'; import { CommandJobDone, Control } from '../types'; /** Model class */ export declare class Model { private readonly registry; /** * Create an instance of model class * @param registry - registry instance */ constructor(registry: Registry); /** Return array of messages used as fifo registry */ messages(): Promise<Control.Message[]>; /** Return array of jobs used as fifo registry */ jobs(): Promise<CommandJobDone[]>; /** Return array of pendingJobs used as fifo registry */ pendingJobs(): Promise<CommandJobDone[]>; } //# sourceMappingURL=oc2.model.d.ts.map