import { type RetryPolicy } from "./retry"; export declare class LightconeHttp { private readonly normalizedBaseUrl; private authToken; private adminToken; constructor(baseUrl: string); baseUrl(): string; clearAuthToken(): Promise; authTokenRef(): () => Promise; clearAdminToken(): void; adminGet(url: string, retry: RetryPolicy): Promise; adminPost(url: string, body: B, retry: RetryPolicy): Promise; get(url: string, retry: RetryPolicy): Promise; post(url: string, body: B, retry: RetryPolicy): Promise; /** * GET with retry, forwarding an explicit per-call raw `Cookie` header * (e.g. `privy-token=…; lightcone-token=…`) instead of the SDK's process-wide * cookie store. Intended for server-side cookie forwarding (SSR / server * functions) where the per-request browser cookies can't propagate to the * shared client. In a browser context this is equivalent to {@link get} — the * runtime is already attaching cookies via `credentials: "include"`. */ getWithCookies(url: string, retry: RetryPolicy, cookieHeader: string): Promise; private requestWithRetry; private shouldRetry; private sendAndParse; private sendRequest; private captureCookies; private cookieHeader; private mapStatusError; } //# sourceMappingURL=client.d.ts.map