// import { proxy, type Remote } from "@huakunshen/comlink"
// import type { IUiWorker } from "../client"

// export function constructWorkerUiAPI(api: Remote<IUiWorker>): IUiWorker {
// 	return {
// 		goBack: api.goBack,
// 		render: api.render,
// 		setScrollLoading: api.setScrollLoading,
// 		setSearchTerm: api.setSearchTerm,
// 		setSearchBarPlaceholder: api.setSearchBarPlaceholder,
// 	}
// }
