import { type Token } from "../core.js"; import { type WorkerRef } from "../refs.js"; import type { WorkerHandle } from "./worker.js"; export type CustomIntegrationSpec = { /** The worker serving the Custom Integration HTTP contract — a handle or `workerRef(uuid)`. */ worker: WorkerHandle | WorkerRef; }; export type CustomIntegrationHandle = { readonly slug: string; readonly uuid: Token; }; export declare function defineCustomIntegration(slug: string, spec: CustomIntegrationSpec): CustomIntegrationHandle; //# sourceMappingURL=customIntegration.d.ts.map