import type { NotFrontDataSourceRest, NotFrontFileFromStateRef, NotFrontRestDataSourceEncoding } from '../types/componentsCore.type'; export declare class NotFrontRestDataSourceError extends Error { constructor(message: string); } export type NotFrontFileMetadata = { __notFrontFile: { name: string; size: number; type: string; }; }; export declare const getRestDataSourceEncoding: (dataSource: NotFrontDataSourceRest) => NotFrontRestDataSourceEncoding; export declare const isNotFrontFileFromStateRef: (value: unknown) => value is NotFrontFileFromStateRef; export declare const resolveRestDataSourceData: (data: unknown, entries: Record, encoding: NotFrontRestDataSourceEncoding) => unknown; export declare const buildMultipartFormData: (resolvedData: Record) => FormData; export declare const sanitizeStateForNextUI: (entries: Record) => Record; export declare const stripContentTypeHeader: (headers: Record | undefined) => Record; export declare const prepareRestDataSourceRequest: (dataSource: NotFrontDataSourceRest, entries: Record) => { body: unknown; headers: Record; };