import type { ProcessIO } from './ProcessHost.ts'; /** * Structural logger contract produced by {@link createProcessIoLogger}. * * Deliberately a local structural type rather than an import: the shape is * assignment-compatible with `@ariestools/sdk`'s `Logger` (the contract the * actor and gateway stacks consume), and declaring it here keeps the core * package dependency-free. */ export interface CliLogger { debug(...values: readonly unknown[]): void; error(...values: readonly unknown[]): void; info(...values: readonly unknown[]): void; log(...values: readonly unknown[]): void; trace(...values: readonly unknown[]): void; warn(...values: readonly unknown[]): void; } export interface ProcessIoLoggerOptions { /** * Emit `debug` and `trace` output. Defaults to `false`, keeping diagnostic * chatter out of ordinary invocations; wire this to the app's `--verbose` * flag. */ readonly isVerbose?: boolean; } /** * Adapts the CLI process boundary's IO into the logger shape shared by the * actor and gateway stacks, so command handlers can hand SDK components a * logger without touching the console directly. `info`/`log` route to * {@link ProcessIO.log}, `warn` to {@link ProcessIO.warn}, `error` to * {@link ProcessIO.error}; `debug`/`trace` stay quiet unless verbose. */ export declare function createProcessIoLogger(io: ProcessIO, options?: ProcessIoLoggerOptions): CliLogger; //# sourceMappingURL=createProcessIoLogger.d.ts.map