export interface RelayTokenRefreshConfig { relayClientId: string; relayScope: string; msalAuthority: string; relayTokenFile: string; msalCacheFile: string; stateFile: string; } /** * Start periodic relay-token refresh using MSAL silent acquisition. * * On success: writes access token to `relayTokenFile`, sets `authStatus: 'ok'` in `stateFile`. * On failure: logs error, writes `authStatus: 'expired'` to `stateFile`. */ export declare function startRelayTokenRefresh(config: RelayTokenRefreshConfig): void; /** * Acquire a Graph API token via `az` CLI with retry and backoff. * On persistent failure, logs a warning prompting the user to run `az login`. */ export declare function refreshGraphToken(tokenFile: string): Promise; /** * Acquire graph token immediately, then start periodic refresh. */ export declare function startGraphTokenRefresh(tokenFile: string): void; /** * Clear all refresh intervals. */ export declare function stopAll(): void;