import type { ProxyDataAdapter } from "../adapter"; export interface HttpProxyAdapterOptions { baseUrl: string; clientId: string; clientSecret: string; audience?: string; scope?: string; resolveHostPath?: string; tokenRefreshSkewSeconds?: number; timeoutMs?: number; fetch?: typeof fetch; } /** * Build a `ProxyDataAdapter` that reads from the AuthHero control plane over * HTTP. Intended for a proxy deployment that does not share a database with * the control plane. * * Authentication is a single `client_credentials` grant against the control * plane. The token is cached in-memory and refreshed before expiry. The * privileged `resolveHost` endpoint must be served by the control plane and * requires the `proxy:resolve_host` scope. */ export declare function createHttpProxyAdapter(options: HttpProxyAdapterOptions): ProxyDataAdapter;