import { AuthProvider, AuthToken } from '../interfaces/auth.js';
import { LongearsAuthCredentials } from '../interfaces/config.js';
export declare class LongearsAuth implements AuthProvider {
    readonly type = "custom";
    private credentials;
    private token;
    private tokenExpiresAt;
    constructor(credentials: LongearsAuthCredentials);
    /**
     * Authenticate with Longears API
     * This implementation uses HMAC authentication
     */
    authenticate(): Promise<AuthToken>;
    /**
     * Refresh the token
     * For Longears, we simply regenerate the signature
     */
    refresh(): Promise<AuthToken>;
    /**
     * Check if the current token is valid
     */
    isValid(): boolean;
    /**
     * Generate HMAC signature for Longears authentication
     */
    private generateSignature;
    /**
     * Get authentication headers for requests
     */
    getAuthHeaders(): Record<string, string>;
}
//# sourceMappingURL=longears.d.ts.map