/**
 * `runOnMainThread` allows triggering main-thread functions on the main thread asynchronously.
 * @public
 */
export declare function runOnMainThread<R, Fn extends (...args: any[]) => R>(fn: Fn): (...args: Parameters<Fn>) => Promise<R>;
export declare function resetElementTemplateMainThreadFunctionRuntime(): void;
