import { type Dispatcher } from "undici";
/**
 * Best-effort TLS session persistence for ONE origin (the API's). A missing,
 * stale, rejected, oversized, symlinked, or unreadable ticket degrades to a
 * full handshake; a failed write is silently dropped. Raw ticket bytes,
 * owner-only file, atomic rename — the keystore file discipline.
 */
declare class TicketStore {
    #private;
    constructor(path: string);
    get(): Buffer | undefined;
    put(session: Buffer): void;
}
/** Test-only export of the store (the class itself is not public API). */
export { TicketStore as _TicketStoreForTests };
/** Test/diagnostic-only: the number of real dials to the API origin this process has made. */
export declare function _apiDialCount(): number;
/** Test-only: reset the dial counter alongside the dispatcher singleton. */
export declare function _resetApiDialCount(): void;
/** The owned dispatcher — created lazily so config/env resolution happens at first use, once per process. */
export declare function sdkDispatcher(): Dispatcher;
/** Test-only: drop the singleton so a suite can re-resolve config. */
export declare function _resetSdkDispatcher(): void;
/**
 * The SDK's transport fetch. Unpatched process → npm undici's fetch on the
 * owned dispatcher. A test that replaced `globalThis.fetch` sees every
 * request instead, exactly as before this change (design D4).
 */
export declare const sdkFetch: typeof globalThis.fetch;
//# sourceMappingURL=http-dispatcher.d.ts.map