import type { TokenManager, TokenStatus } from './types.js'; import type { TokenStore } from '../store/types.js'; /** * Static (non-OAuth) TokenManager for long-lived service-account tokens. * * Unlike OAuthTokenManager, there is no refresh cycle — the token is either * supplied as a configToken (shared service-account token from * mcp-providers.json) or injected by the login flow via store.upsert() and * remains valid until manually rotated. * * Priority: when configToken is a non-empty string it takes full precedence * over the encrypted store — store.get() is never called. * * Style reference: NullTokenManager — same class shape and method signatures. */ export declare class StaticTokenManager implements TokenManager { private readonly store; private readonly service; private readonly configToken; constructor(store: TokenStore, service?: string, configToken?: string); getAccessToken(): Promise; /** * No-op — the token is injected by the login flow or config, not by this manager. */ authenticate(): Promise; isAuthenticated(): boolean; /** * Static tokens do not expire — no expiresAt or expiresIn fields. */ getTokenStatus(): TokenStatus; /** * No-op — no background timers or connections to release. */ shutdown(): void; } //# sourceMappingURL=static-token-manager.d.ts.map