import type { Ctx } from '../../typings'; import { Command } from 'commander'; export declare function buildContext(initialContext: any): Promise; export declare function getHandler(ctx: Ctx, handlerType: 'start' | 'replay'): Promise; export declare function load(dir: string): Promise; export declare function prepare(ctx: Ctx): Promise<{ instances: Map; entities: Map; modelConfigs: Map; datastores: string[]; }>; export declare function init(ctx: Ctx): Promise; export declare function sendEvents(ctx: Ctx, events: any[], waitTimeout?: number): Promise; export declare function run(ctx: Ctx, handlerType: 'start' | 'replay'): Promise; export declare function assert(ctx: Ctx, handlerType: string): Promise; export declare function tearDown(ctx: Ctx): Promise; export declare function cli(argv?: string[]): Promise;