import type { ControlTransport } from "./control.js"; /** 浏览器授权标识与期限,不暴露会话凭据或其摘要。 */ export interface ControlSession { id: string; issuedAt: number; expiresAt: number; current: boolean; } export interface ControlSessionPolicy { durationDays: 30 | 90 | 365; autoRenew: boolean; } export declare function revokeControlSession(transport: ControlTransport, id: string): Promise<{ revoked: true; }>; export declare function listControlSessions(transport: ControlTransport): Promise<{ sessions: ControlSession[]; }>;