import type { BusinessLinesResponse } from '../../../../api/businessLines/businessLines.types';
import type { IndustryCodesResponse } from '../../../../api/industryCodes/industryCodes.types';
import type { BusinessLineType } from '../../../../api/industryCodes/useIndustryCodes';
import type { BaseFormFieldProps } from '../../../../hooks/useForm/types';
import type { ValidationRuleResult } from '../../../../utils/validation/types';
import type { BusinessLinesSchema } from '../../../BusinessLines/tasks/types';
export type IndustryCode = {
    id: string;
    name: string;
};
export interface IndustryCodeFieldSchema {
    industryCodes?: IndustryCode[];
}
export interface IndustryCodeFieldProps extends Pick<BaseFormFieldProps<IndustryCodeFieldSchema>, 'data' | 'valid' | 'errors' | 'readonly' | 'handleChangeFor'> {
    guidanceText: string;
    businessLineTypes: BusinessLineType[];
    single?: boolean;
    setValid?: (key: 'industryCodes', value: boolean, formName: keyof BusinessLinesSchema) => void;
    setErrors?: (key: 'industryCodes', value: ValidationRuleResult | null, formName: keyof BusinessLinesSchema) => void;
    industryCodes: IndustryCodesResponse;
    existingBusinessLines?: BusinessLinesResponse[];
}
