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; readonly createBinarySession: ( config: AppConfig, logger: Logger, ) => BinarySession | Promise; readonly createManagedBinarySession: () => | BinarySession | Promise; }