eliza-core
Version:
A rendition of ELIZA program engine by Weizenbaum sharable for all javascript environments
27 lines (26 loc) • 552 B
TypeScript
import { Decomp } from './decompo';
import { Key } from './key';
/**
* Print the key and all under it.
*
* Corresponding to `Key.print(int indent)`
*/
export declare function snapshotKey(key: Key): {
key?: any;
rank?: any;
decomps?: any;
};
/**
* Print out the decomp rule.
*
* @export
* @param {Decomp} d
* @param {number} indent
*
* Learned from `Decomp.print(int indent)`
*/
export declare function snapshotDecomp(d: Decomp): {
pattern: string;
isAware: boolean;
reasembs: import("./Reassemble").Reassemble[];
};