#!/usr/bin/env node import type { AppConfig } from "@tablestore/tablestore-agent-shared"; import { Client, MemoryClient } from "@tablestore/tablestore-agent-sdk"; export interface CliContext { config: AppConfig; } /** * Run `fn` with the given CLI context visible to {@link getConfig} / * {@link getClient} / {@link getMemoryClient}. * * The production entry point (`main()`) uses this once per invocation; tests * can use it to inject a synthetic config without reading any file or env. */ export declare function withCliContext(ctx: CliContext, fn: () => Promise | T): Promise | T; export declare function getConfig(): AppConfig; export declare function getClient(): Client; export declare function getMemoryClient(): MemoryClient; //# sourceMappingURL=main.d.ts.map