@imbricate/core
Version:
Imbricate Core, Notebook for Engineers
32 lines (31 loc) • 1.03 kB
TypeScript
/**
* @author WMXPY
* @namespace Document_Property
* @description Triage Manager
*/
import { ImbricatePropertyKey } from "../../property/definition";
import { ImbricatePropertyRecord } from "../../property/map";
import { ImbricateDocumentPropertyTriageBase } from "./triage-base";
export declare class ImbricateDocumentPropertyTriageManager<Result> extends ImbricateDocumentPropertyTriageBase<Result> {
static create<Result>(properties: ImbricatePropertyRecord): ImbricateDocumentPropertyTriageManager<Result>;
private readonly _properties;
private constructor();
/**
* Collect the result as array
*
* @returns collected result as array
*/
collectAsArray(): Result[];
/**
* Collect the result as map
*
* @returns collected result as map
*/
collectAsMap(): Map<ImbricatePropertyKey, Result>;
/**
* Collect the result as object
*
* @returns collected result as object
*/
collectAsObject(): Record<ImbricatePropertyKey, Result>;
}