mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 19:53:50 +00:00
16 lines
661 B
TypeScript
16 lines
661 B
TypeScript
import type { AppConfig } from "../config/types.js";
|
|
import type { parseConfig } from "../config/parseConfig.js";
|
|
import type { Logger } from "pino";
|
|
import type { BinarySession } from "./binary/BinarySession.js";
|
|
|
|
/** Configuration and one-shot session factories supplied by the production boundary. */
|
|
export interface DirectAnalysisDependencies {
|
|
/** Read the caller-selected configuration without consulting ambient state. */
|
|
readonly readConfiguration: () => ReturnType<typeof parseConfig>;
|
|
readonly createBinarySession: (
|
|
config: AppConfig,
|
|
logger: Logger,
|
|
) => BinarySession;
|
|
readonly createManagedBinarySession: () => BinarySession;
|
|
}
|