@getanthill/datastore
Version:
Event-Sourced Datastore
6 lines (5 loc) • 552 B
TypeScript
import type FullyHomomorphicEncryptionClient from '../services/fhe';
import { ModelConfig } from '../typings';
export declare function handle(handler: string | Function, state: any, event: any, modelConfig?: ModelConfig, fhe?: FullyHomomorphicEncryptionClient): Promise<any>;
export declare function handleFHE(handler: string | Function, state: any, event: any, modelConfig: ModelConfig, fhe: FullyHomomorphicEncryptionClient): Promise<unknown>;
export declare function thread<T>(script: string, state: any, event: any, extra?: any): Promise<unknown>;