import type { Simplify } from 'type-fest'; import type { DerivedProperty, JHipsterChoices } from '../command/types.ts'; export declare const flatChoices: (choices: JHipsterChoices) => string[]; export declare const derivedPropertyName: (property: P, value: V, suffix?: S) => `${DerivedProperty}${S}`; export declare const applyDerivedProperty: (data: any, property: Prop, possibleValues: JHipsterChoices, { addAny, addNo, defaultValue }?: { addAny?: boolean; addNo?: boolean; defaultValue?: string; }) => void; export declare const buildMutateDataForProperty: > = Simplify>>>(property: P, possibleValues: Values, { prefix, suffix, array, valCheck, }?: { prefix?: Prefix; suffix?: S; /** Property is an array, check if the property includes the value instead of matching the value */ array?: IsArray; /** Set callback argument as any to avoid type mismatch */ anyData?: IsAny; /** Callback logic */ valCheck?: (data: Data, value: any) => boolean; }) => Simplify>]: (data: Data) => boolean; }>;