/** * Worker API Proxy Namespaces — virtual namespace builders (`schema`, `projects`, * `tags`, `system`, `context`) attached to `mj.*`. */ export type InvokeRpcFn = (group: string, method: string, args: unknown[]) => Promise; export type SafeRpcCallFn = (group: string, method: string, args: unknown[]) => Promise; /** * Builds the `mj.schema` virtual namespace proxy. */ export declare function createSchemaProxy(safeRpcCall: SafeRpcCallFn): object; /** * Builds the `mj.projects` / `mj.project` virtual namespace proxy. */ export declare function createProjectsProxy(methods: Record, invokeRpc: InvokeRpcFn): object; /** * Builds the `mj.tags` / `mj.tag` virtual namespace proxy. */ export declare function createTagsProxy(methods: Record, invokeRpc: InvokeRpcFn): object; /** * Builds the `mj.system` / `mj.adapters` virtual namespace proxy. */ export declare function createSystemProxy(methods: Record, invokeRpc: InvokeRpcFn): object; /** * Builds the `mj.context` virtual namespace proxy and `getContext` RPC helper. */ export declare function createContextNamespaceProxy(contextObj?: Record): { contextProxy: object; getContextRpc: (keyOrObj?: unknown) => Promise; }; //# sourceMappingURL=proxy-namespaces.d.ts.map