import { Effect } from "effect"; import type { Queue } from "effect"; import type { FetchError, ResponseParseError } from "@univ-lehavre/atlas-fetch-one-api-page"; import type { Store } from "./store.js"; import { type FetchAPIMinimalConfig } from "./helpers.js"; interface FetchAPIConfig extends FetchAPIMinimalConfig { now?: boolean; store?: Store; queue?: Queue.Queue; } declare const fetchAPIQueue: (opts: FetchAPIConfig) => Effect.Effect<{ store: Store; queue: Queue.Queue; worker: Effect.Effect; }, FetchError | ResponseParseError>; declare const fetchAPIResults: (opts: FetchAPIMinimalConfig) => Effect.Effect; export { fetchAPIQueue, fetchAPIResults, type FetchAPIConfig }; //# sourceMappingURL=api.d.ts.map