import type { EffortLevel, RouteSafetyMode } from "@mono-agent/config"; import { type WizardAnswers } from "./answers.js"; /** Channels `mono-agent init --with ` can switch on, by their short flag name. */ export declare const WITH_CHANNELS: readonly ["telegram", "slack", "webhook", "openaiApi", "cron"]; export type WithChannel = (typeof WITH_CHANNELS)[number]; /** True when `value` is a `--with` channel flag name. */ export declare function isWithChannel(value: string): value is WithChannel; /** The non-interactive `init`/preset flags, before they are mapped onto answers. */ export interface AnswersFromCliArgs { readonly name?: string; readonly model?: string; readonly fallbacks?: readonly { readonly model: string; readonly effort?: EffortLevel; }[]; readonly routeSafety?: RouteSafetyMode; readonly effort?: string; readonly memory?: "lite" | "journal" | "bujo"; /** Validated `--with` channel flag names (see {@link WithChannel}). */ readonly withChannels?: readonly string[]; /** Preset id whose answers seed the base selection (already validated by the caller). */ readonly presetId?: string; } /** * Map the non-interactive `init` flags (and an optional preset) onto full wizard * answers, running once through the single {@link defaultAnswers} path so * `allowedTools` is recomputed from the final capability selection. A preset seeds * the base answers (its partial, so it never pins tools); each explicit flag * overrides that; `--with` channels are unioned onto the preset/default channels. * The caller resolves an unknown `presetId` and errors before calling this. */ export declare function answersFromCli(args: AnswersFromCliArgs): WizardAnswers; //# sourceMappingURL=from-flags.d.ts.map