/** * Shared CLI parsing for the `--storage` backend flag. Centralizes the valid * backend set and the persistent-only restriction so the top-level argument * parser and the schedule subcommand parser agree on validation. * * @module cli/storage-backend-arguments */ import type { PersistentStorageBackend, StorageBackend } from './types.ts'; /** Validate a `--storage` value, defaulting to `sqlite` when omitted. */ export declare function parseStorageBackend(value: string | undefined): StorageBackend; /** * Validate a `--storage` value for commands that must persist data across CLI * invocations (e.g. schedules). Rejects the in-memory backend. */ export declare function parsePersistentStorageBackend(value: string | undefined): PersistentStorageBackend;