import './thread-polyfill.ts'; 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 { Effect, Schema } from '@livestore/utils/effect'; import type { TestingOverrides } from './leader-thread-shared.ts'; export type WorkerOptions = { schema: LiveStoreSchema; sync?: SyncOptions; syncPayloadSchema?: Schema.Schema; otelOptions?: { tracer?: otel.Tracer; /** @default 'livestore-node-leader-thread' */ serviceName?: string; }; testing?: TestingOverrides; } & LogConfig.WithLoggerOptions; export declare const getWorkerArgs: () => { readonly clientId: string; readonly storeId: string; readonly sessionId: string; readonly extraArgs: Schema.JsonValue | undefined; }; export declare const makeWorker: (options: WorkerOptions) => void; export declare const makeWorkerEffect: (options: WorkerOptions) => Effect.Effect; //# sourceMappingURL=make-leader-worker.d.ts.map