import { AbsolutePath, Path } from "@kform/core";
/**
 * Resolves a given path against the current form path or against
 * {@link currentPath} when provided. The returned absolute path has a stable
 * identity.
 * @param path Path to resolve against the current path.
 * @param currentPath Optional current path argument. When provided, this path
 * is used instead of the form context's current path.
 * @returns Resolved absolute path with a stable identity.
 */
export declare function useResolvedPath(path?: Path | string, currentPath?: AbsolutePath): AbsolutePath;
