import type { DynamicFormSchema } from './types/fieldTypes.js'; /** * Drops a schema flag the expression parser could not resolve. workflow.schema.json types * `optional`/`hidden`/`ignore` as ["string", "boolean"], so a flag whose expression depends * on something unavailable at form-render time (a list `[index]` outside a row, `needs.`, * `env.`, a secret `var.`) arrives as the raw `${{…}}` string. That string is truthy, which * inverts each flag's documented `false` default. Returning undefined lets the caller apply * that default instead of reading an expression it never evaluated as "yes". */ export declare function resolvedFlag(value: T): T | undefined; /** An input's `width` as CSS: a number of pixels or a percentage; undefined for anything else. */ export declare function inputWidth(value: unknown): string | undefined; export declare function enforceOneMustBeTrue(items: Array>, options: DynamicFormSchema, promoteIndex: number): Array>; export declare function flattenGroups(schema: unknown): Record; /**Not a pure function. Edits 'obj' passed into function */ export declare function impureSetValueFromPath(obj: Record, path: string, value: unknown): void; export declare function initializeValues(options: unknown, srcData?: object, /** Fields whose schema default the host wants left blank. */ blankDefault?: (field: { type?: string; default?: unknown; }) => boolean): Record | undefined;