import type { JsFnHandle } from '../../worklet-runtime/bindings/types.js';
/**
 * Creates the serializable handle used by main-thread code to call a background function.
 */
export declare function createBackgroundFunctionHandle(obj: ((...args: any[]) => any) & {
    toJSON?: () => string;
}): JsFnHandle;
export declare function resetBackgroundFunctionHandleIdForTesting(): void;
