import { DictationMint } from './dictation-session'; /** * Session-token reuse: an ephemeral client secret can open multiple realtime * sessions until it expires (120s TTL), so re-minting on every activation * wastes a full backend round trip. The cache holds the latest mint and * hands it back while comfortably inside its TTL; hovering the mic * pre-warms it so the first click starts instantly too. * * One instance per widget (owned by DictationCtx), never module state — two * widgets on one page must not share a mint across orgs. */ export declare class DictationMintCache { private cached; private inflight; /** Valid cached mint, or null. */ get(): DictationMint | null; /** * Resolve a mint, deduping concurrent requests (hover-prewarm racing a * click reuses the same in-flight promise instead of double-minting). */ resolve(mintFresh: () => Promise): Promise; /** Drop the cache (e.g. after a failed handshake — token may be stale). */ clear(): void; } //# sourceMappingURL=dictation-mint-cache.d.ts.map