import type { ICreateAttachment, ICreateLink, ICreateLog } from '../runtime/attachment_manager'; export interface IWorldOptions { attach: ICreateAttachment; log: ICreateLog; link: ICreateLink; parameters: ParametersType; } export interface IWorld { readonly attach: ICreateAttachment; readonly log: ICreateLog; readonly link: ICreateLink; readonly parameters: ParametersType; [key: string]: any; } export default class World implements IWorld { readonly attach: ICreateAttachment; readonly log: ICreateLog; readonly link: ICreateLink; readonly parameters: ParametersType; constructor({ attach, log, link, parameters }: IWorldOptions); }