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

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