import { DataSource, ServerDataSource } from '@rawdash/core'; interface HttpOptions { baseUrl: string; apiKey?: string; fetch?: typeof globalThis.fetch; timeoutMs?: number; /** Total time to wait for an in-flight sync to finish before throwing. Defaults to 30s. */ syncTimeoutMs?: number; /** Delay between sync-state polls. Defaults to 500ms. */ syncPollIntervalMs?: number; } declare function http(opts: HttpOptions): DataSource; interface InProcessOptions { /** Total time to wait for an in-flight sync to finish. Defaults to 30s. */ syncTimeoutMs?: number; /** Delay between sync-state polls. Defaults to 500ms. */ syncPollIntervalMs?: number; } declare function inProcess(engine: ServerDataSource, options?: InProcessOptions): DataSource; export { type HttpOptions, type InProcessOptions, http, inProcess };