import type { AstridChannelConfig } from './types.js'; /** * OAuth2 client_credentials flow with token caching and auto-refresh. */ export declare class OAuthClient { private config; private accessToken; private expiresAt; constructor(config: AstridChannelConfig); /** Get a valid token, refreshing if needed (5 min buffer). */ ensureToken(): Promise; /** Force-refresh the token. */ refreshToken(): Promise; } //# sourceMappingURL=oauth-client.d.ts.map