/** * @license * Copyright 2025 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { DataPortSchemaObject } from "@workglow/util/schema"; /** * Parse dynamic flags from argv based on a DataPortSchemaObject. * Supports `-key=value`, `-key value`, and dot notation (`-model.provider=HF`). */ export declare function parseDynamicFlags(argv: string[], schema: DataPortSchemaObject): Record; /** * Parse config flags from argv based on a config schema. * * Accepts two forms: * - `-config-key=value` (always works, explicit config prefix) * - `-key=value` (shorthand, only when key does NOT conflict with inputSchema properties) * * Supports dot notation for nested objects: `-config-a.b=value`. */ export declare function parseConfigFlags(argv: string[], configSchema: DataPortSchemaObject, inputSchema: DataPortSchemaObject): Record; /** * Generate help text for config flags, showing -config-key form * and noting shorthand when there's no input conflict. */ export declare function generateConfigHelpText(configSchema: DataPortSchemaObject, inputSchema: DataPortSchemaObject): string; /** * Generate help text from a DataPortSchemaObject showing available dynamic flags. */ export declare function generateSchemaHelpText(schema: DataPortSchemaObject): string;