import React from "react"; import { SchemaProvider } from "@autoform/core"; //#region src/tanstack-form/utils.d.ts declare function createSchemaValidator>(schema: SchemaProvider, removeEmptyValue?: boolean): ({ value }: { value: T; }) => { fields: { [k: string]: import("@autoform/core").SchemaValidationError; }; } | undefined; declare function focusFirstFieldInPath(path: string): void; declare function getAppForm(form: { AppForm?: React.ComponentType; }): React.ComponentType; /** * Formats an array of path segments into a TanStack Form compatible string path. * e.g., ["guests", "0", "name"] -> "guests[0].name" */ declare function formatTanStackPath(path: string[]): string; declare function getErrorMessage(fieldApi: any): string | undefined; //#endregion export { createSchemaValidator, focusFirstFieldInPath, formatTanStackPath, getAppForm, getErrorMessage }; //# sourceMappingURL=utils.d.mts.map