import { TokenStore } from './TokenStore'; import { FortnoxConfig, TokenResponse, AuthorizationUrlResult, AuthParams } from '../types/auth.types'; export declare class AuthManager { private readonly config; private readonly tokenStore; private readonly pendingStates; private readonly stateExpiryMs; constructor(config: FortnoxConfig); getAuthorizationUrl(params?: AuthParams): AuthorizationUrlResult; validateState(state: string): boolean; exchangeCodeForToken(code: string, state: string): Promise; refreshAccessToken(): Promise; getValidAccessToken(): Promise; private performTokenRefresh; private cleanupExpiredStates; getTokenStore(): TokenStore; } //# sourceMappingURL=AuthManager.d.ts.map