/** * Gate Pay OAuth access_token 进程内存储(中心化支付)。 * 与托管钱包 GateMcpClient / mcp_token 完全分离。 */ export declare function setGatePayAccessToken(token: string, expiresAtMs?: number | null, refreshToken?: string | null, refreshTokenExpiresAtMs?: number | null, /** 传入则更新进程内 uid;不传则保留原值(用于刷新接口未返回 user_id 时) */ userId?: string): void; /** * 在 access_token 进入过期窗口(默认提前 60s)时,若有 refresh_token 则调用刷新接口。 * 并发调用会合并为同一刷新请求。 */ export declare function ensureGatePayAccessTokenFresh(): Promise; export declare function isGatePayTokenUsable(): boolean; export declare function getGatePayAccessToken(): string | null; /** 与当前有效会话关联的 uid;无会话或历史未写入时为 null */ export declare function getGatePayUserId(): string | null; export declare function clearGatePayAccessToken(): void; //# sourceMappingURL=pay-token-store.d.ts.map