import type { D1DatabaseLike } from '../adapters/d1.js'; import type { AsyncClient } from '../types.js'; import { type ReadAlchemyD1StateOptions } from './alchemy-state.js'; import { type CreateD1HttpClientOptions } from './d1-http.js'; export interface CreateAlchemyD1ClientOptions extends ReadAlchemyD1StateOptions { /** * Cloudflare API token. Defaults to `process.env.CLOUDFLARE_API_TOKEN` if * omitted; throws if neither is set. */ apiToken?: string; fetch?: CreateD1HttpClientOptions['fetch']; apiBase?: CreateD1HttpClientOptions['apiBase']; } export declare function createAlchemyD1Client(options: CreateAlchemyD1ClientOptions): { client: AsyncClient; };