import { IVirtualMachine } from "./interfaces/vm.interface";
import { ActiveDefinitions } from "@activeledger/activedefinitions";
import { ActiveDSConnect } from "@activeledger/activeoptions";
import { Process } from "./process";
export declare class Shared {
    private _storeSingleError;
    private entry;
    private dbe;
    private emitter;
    ioLabelMap: any;
    private _errorOut;
    constructor(_storeSingleError: boolean, entry: ActiveDefinitions.LedgerEntry, dbe: ActiveDSConnect, emitter: Process);
    private _storedSingleErrorDoc;
    set errorOut(errorOut: {
        code: number;
        reason: string | Error;
        priority: number;
    });
    set storeSingleError(state: boolean);
    getLabelIOMap(inputs: boolean, streamId: string): string;
    private filterMap;
    assumedVirtualPrefix: string;
    filterPrefix(stream: string, skipMap?: boolean): string;
    clearAllComms(virtualMachine: IVirtualMachine, preserveComms: any): ActiveDefinitions.LedgerEntry;
    raiseLedgerError(code: number, reason: Error, stop?: Boolean, priority?: number): Promise<void>;
    storeError(code: number, reason: Error, priority?: number): Promise<any>;
    private getGlobalReason;
    signatureCheck(publicKey: string, signature: string, type?: string): boolean;
}
//# sourceMappingURL=shared.d.ts.map