import { ApiDefinitions, IProperty } from '@api-client/core/build/browser.js';
export interface PayloadInfo {
    value: string | FormData | Blob;
    model?: IProperty[];
    schemas?: unknown;
}
export declare function getPayloadValue(payload: ApiDefinitions.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