import type { FieldArrayPath, FieldPath, FieldValues } from '../types'; /** * Returns the index of the path in the field array. * * @param name The name of the field array. * @param path The path to get the index from. * * @returns The field index in the array. */ export declare function getPathIndex(name: string, path: FieldPath | FieldArrayPath): number;