import { type JsonValue } from 'type-fest';
/**
 * Works on a resource on the client, for example passed from the form block
 *
 * @param data The resource to be serialized, optionally containing asset blobs
 * @returns A FormData instance containing the resource and an array of the assets
 *   referenced from the resource
 */
export declare function serializeResource(data: any): FormData | JsonValue;
