import type { FunnelSdkRuntimeConfigOverrides } from './types.js'; type TransportPolicy = 'compatibility' | 'bounded-once' | 'bounded-replay'; type JsonWriteInput = { runtimeConfig?: FunnelSdkRuntimeConfigOverrides; body?: Record; errorMessage: string; includeRuntimeFields?: boolean; includePublishableKey?: boolean; transportPolicy?: TransportPolicy; signal?: AbortSignal; }; type JsonErrorPayload = { checkoutRequestId?: string | null; code: string | null; message: string; retryable?: boolean | null; }; export declare class FunnelSdkHttpError extends Error { readonly checkoutRequestId: string | null; readonly statusCode: number; readonly code: string | null; readonly retryable: boolean | null; readonly retryAfter: string | null; constructor(statusCode: number, payload: JsonErrorPayload, retryAfter?: string | null); } export declare const getJson: (path: string, input: { runtimeConfig?: FunnelSdkRuntimeConfigOverrides; searchParams?: Record; headers?: Record; signal?: AbortSignal; transportPolicy?: TransportPolicy; errorMessage: string; }) => Promise; export declare const postJson: (path: string, input: JsonWriteInput) => Promise; export declare const patchJson: (path: string, input: { runtimeConfig?: FunnelSdkRuntimeConfigOverrides; body?: Record; errorMessage: string; }) => Promise; export {};