import { type OutboundHttpEgressConfig } from "@oscharko-dev/keiko-model-gateway/internal/http";
export interface FigmaHttpRequest {
    readonly url: string;
    readonly headers: Readonly<Record<string, string>>;
}
export interface FigmaHttpResponse {
    readonly status: number;
    readonly json: unknown;
    readonly headers: Readonly<Record<string, string>>;
}
export type FigmaHttpPort = (request: FigmaHttpRequest) => Promise<FigmaHttpResponse>;
/**
 * Thin default adapter over the platform `fetch`. This is the ONLY place `fetch` is named.
 * It forwards the caller-built headers verbatim and reads the body as JSON; it does not
 * log, retry, or inspect the token. Resilience/backoff is out of scope here (#759); the
 * proxy/custom-CA transport is the platform prerequisite (#802) that replaces this adapter.
 */
export declare const createDefaultFigmaHttpPort: (egress?: OutboundHttpEgressConfig, fetchImpl?: typeof fetch) => FigmaHttpPort;
//# sourceMappingURL=figmaHttpPort.d.ts.map