/**
 * Converts `value` to a property path array.
 *
 * @since 5.7.0
 * @category Util
 * @param value The value to convert.
 * @returns Returns the new property path array.
 * @example
 *
 * ```js
 * toPath('a.b.c')
 * // => ['a', 'b', 'c']
 *
 * toPath('a[0].b.c')
 * // => ['a', '0', 'b', 'c']
 * ```
 */
declare function toPath(value: Array<string>): Array<string>;
declare function toPath(value: string): Array<string>;
export default toPath;
