import { ChallengeParams } from './www-authenticate';
export declare class DigestAuth {
    private readonly realm;
    private readonly nonce;
    private readonly opaque?;
    private readonly algorithm?;
    private readonly qop?;
    private readonly username;
    private readonly ha1Base;
    private count;
    constructor(params: ChallengeParams, username: string, password: string);
    nc: () => string;
    cnonce: () => string;
    ha1: (cnonce: string) => string;
    ha2: (method: string, uri: string, body?: string) => string;
    authorization: (method?: string, uri?: string, body?: string) => string;
}
