import { Effects, ExposeServicePaths, ExposeUiPaths } from "../types" export type SetupExports = (opts: { effects: Effects }) => | { ui: { [k: string]: ExposeUiPaths } services: ExposeServicePaths["paths"] } | Promise<{ ui: { [k: string]: ExposeUiPaths } services: ExposeServicePaths["paths"] }> export const setupExports = (fn: (opts: SetupExports) => void) => fn