import type { IEngine, ISchema, JsonSchemaExtended } from '@dcl/ecs'; import type { Action, ActionPayload, ActionType } from './definitions'; export declare const EMPTY: JsonSchemaExtended; export declare function addActionType(engine: IEngine, type: string, schema?: T): void; export declare function getActionSchema(engine: IEngine, type: string): ISchema; export declare function getActionTypes(engine: IEngine): string[]; export declare function getPayload(action: Action): ActionPayload; export declare function getJson(payload: ActionPayload): string;