import { Effect, Layer } from 'effect'; import { ProverClient } from './ProverClient.js'; import { type InvalidProtocolSchemeError } from '@midnightntwrk/wallet-sdk-utilities/networking'; /** * Creates a layer for a {@link ProverClient} that sends requests to a Proof Server over HTTP. * * @param config The server configuration to use when configuring the HTTP elements of the layer. * @returns A `Layer` for {@link ProverClient} that sends requests to a configured Proof Server over HTTP. The layer can * fail with an `InvalidProtocolSchemeError` if `config` is invalid for a HTTP context. */ export declare const layer: (config: ProverClient.ServerConfig) => Layer.Layer; export declare const create: (config: ProverClient.ServerConfig) => Effect.Effect;