/** * Utilities for handling Transferable objects in RPC calls. */ /** * Checks if a value is a Transferable object. * Supports ArrayBuffer, MessagePort, OffscreenCanvas, and ImageBitmap. */ export declare let isTransferable: (val: any) => val is Transferable; /** * Processes arguments to extract the transfer list. * Returns the cleaned arguments (removing explicit transfer list if present) and the transfer list. * * @param args - The arguments passed to the RPC function. * @returns An object containing the processed arguments and the array of Transferable objects. */ export declare function extractTransferables(args: any[]): { args: any[]; transfer: Transferable[]; };