import { Effects, ExposeServicePaths, ExposeUiPaths } from "../types" import { Utils } from "../util/utils" export type SetupExports = (opts: { effects: Effects utils: Utils }) => | { ui: ExposeUiPaths services: ExposeServicePaths } | Promise<{ ui: ExposeUiPaths services: ExposeServicePaths }> export const setupExports = (fn: (opts: SetupExports) => void) => fn