import type { IApiPayload } from '@api-client/core/amf/definitions/Api.js';
import type { IProperty } from '@api-client/core/models/Property.js';
export interface PayloadInfo {
    value: string | FormData | Blob;
    model?: IProperty[];
    schemas?: unknown;
}
export declare function getPayloadValue(payload: IApiPayload): PayloadInfo;
/**
 * @param id The ApiPayload id.
 * @param value The value to cache.
 * @param model Optional model to set.
 */
export declare function cachePayloadValue(id: string, value: string, model?: IProperty[]): void;
/**
 * @param id Payload id to read the value.
 */
export declare function readCachePayloadValue(id: string): PayloadInfo | undefined;
//# sourceMappingURL=PayloadUtils.d.ts.map