import type { OneKhusaEnvironment } from "./types/common";
export declare class OneKhusaTokenManager {
    private readonly apiKey;
    private readonly apiSecret;
    private cachedToken;
    private refreshPromise;
    private readonly tokenUrl;
    constructor(apiKey: string, apiSecret: string, environment?: OneKhusaEnvironment, sandboxUrl?: string, productionUrl?: string);
    getToken(): Promise<string>;
    private isTokenValid;
    private fetchNewToken;
    private parseTokenExpiration;
    clearToken(): void;
}
//# sourceMappingURL=auth.d.ts.map