import type * as otel from '@opentelemetry/api'; import type { SyncOptions } from '@livestore/common'; import { LogConfig } from '@livestore/common'; import type { LiveStoreSchema } from '@livestore/common/schema'; import type { WorkerError } from '@livestore/utils/effect'; import { Effect, Schema } from '@livestore/utils/effect'; export type WorkerOptions = { schema: LiveStoreSchema; sync?: SyncOptions; syncPayloadSchema?: Schema.Schema; otelOptions?: { tracer?: otel.Tracer; }; } & LogConfig.WithLoggerOptions; export declare const makeWorker: (options: WorkerOptions) => void; export declare const makeWorkerEffect: (options: WorkerOptions) => Effect.Effect; //# sourceMappingURL=make-leader-worker.d.ts.map