import Srl from "./Srl"; import TupleMap from "ts-json-key-map"; declare type TokensType = string[]; export declare type NodesType = [number, // begin number, // end (exclusive) string][]; export declare type EdgesType = [number[], // tails [number]][]; interface Meta { frame_label_set_name: string | undefined; } export default class SrlJsonFormat { meta?: Meta; tokens: TokensType; nodes: NodesType; edges: EdgesType; constructor(tokens: TokensType, nodes: NodesType, edges: EdgesType, meta?: Meta); static parseSrl(srl: Srl): SrlJsonFormat; /** * construct an SrlJson from Srl with extra information * in Srl format, a role is identified by , * in Hypergraph format, a role is identified by * so this function returns the relationship between the two identifiers */ static parseSrlWithMap(srl: Srl): { json: SrlJsonFormat; srlFrameRoleIndex_jsonNodeIndex: TupleMap<[number, number], number>; }; } export {};