import type { z } from '@botpress/sdk';
/**
 * Coerce a string value from CLI/terminal input to the type expected by a Zod field schema.
 *
 * CLI arguments and text inputs are always strings, but config schemas may expect
 * numbers, booleans, etc. This function inspects the Zod schema's type and converts
 * the raw string accordingly.
 *
 * Returns the coerced value, or the original string if the type is unknown or unsupported
 * (letting Zod validation catch any remaining mismatches).
 */
export declare function coerceConfigValue(value: string, fieldSchema: z.ZodTypeAny): unknown;
/**
 * Unwrap optional/default/nullable wrappers to get the inner type name.
 * e.g. z.number().optional() has typeName 'ZodOptional' but the inner type is 'ZodNumber'.
 */
export declare function getInnerTypeName(schema: z.ZodTypeAny): string;
//# sourceMappingURL=coerce-config-value.d.ts.map