import { CommonProps } from "@trackunit/react-components"; import { ReactElement } from "react"; import { Control, FieldValues, RegisterOptions, UseFormRegister, UseFormSetValue } from "react-hook-form"; export interface StringListFieldProps extends CommonProps { defaultValue?: Array; label: string; helpText?: string; errorMessage?: string; register: UseFormRegister; setValue: UseFormSetValue; description?: string; disabled?: boolean; validationRules: RegisterOptions; id: string; control: Control; } /** * A custom field that displays a list of strings. */ export declare const StringListField: ({ defaultValue, label, description, disabled, validationRules, id, control, register, setValue, "data-testid": dataTestId, ...props }: StringListFieldProps) => ReactElement;