/** How long a refusal holds before the 1M window is tried again (the account may have enabled extra usage). */
export declare const LONG_CONTEXT_REFUSAL_TTL_MS: number;
type Listener = (available: boolean) => void;
/**
 * Whether the subscription lane may request the 1M window. A refusal ("Extra usage is required for
 * long context") holds for {@link LONG_CONTEXT_REFUSAL_TTL_MS}, across processes, so every session
 * plans against the 200k window it actually gets instead of failing one request each (senpi#3408).
 */
export declare function longContextAvailable(now?: number): boolean;
export declare function markLongContextRefused(now?: number): void;
export declare function onLongContextAvailabilityChange(listener: Listener): () => void;
export declare function _resetLongContextForTesting(path?: string): void;
export {};
//# sourceMappingURL=long-context.d.ts.map