import { InstancePayload } from '../../../client/serialization/InstancePayload.ts';
import { InstancePayloadType } from '../../../client/serialization/InstancePayloadOptions.ts';
import { ClientReactiveSerializableInstance } from '../../../instance/internal-api/serialization/ClientReactiveSerializableInstance.ts';
export interface PrepareInstancePayloadOptions<PayloadType extends InstancePayloadType> {
    readonly payloadType: PayloadType;
    readonly maxSize: number;
}
export declare const prepareInstancePayload: <PayloadType extends InstancePayloadType>(instanceRoot: ClientReactiveSerializableInstance, options: PrepareInstancePayloadOptions<PayloadType>) => InstancePayload<PayloadType>;
