export declare class Sha256 {
    private initialized;
    private _padding;
    private _k;
    /**
     * Initializes the constant tables.
     */
    private initialize;
    /**
     * Creates a SHA-256 message digest object.
     *
     * @return a message digest object.
     */
    create(): Sha256Digest;
}
export interface HashDigest {
    start(): void;
    update(bytes: Uint8Array): void;
    digest(): Uint8Array;
}
declare class Sha256Digest implements HashDigest {
    private readonly _padding;
    private readonly _k;
    readonly blockLength = 64;
    readonly digestLength = 32;
    private messageLength;
    private messageLength64;
    private _state;
    private _input;
    private _w;
    constructor(_padding: Uint8Array, _k: Uint32Array);
    /**
     * Starts the digest.
     */
    start(): void;
    /**
     * Updates the digest with the given message input.
     *
     * @param bytes the binary data to update with.
     */
    update(bytes: Uint8Array): void;
    /**
     * Produces the digest.
     *
     * @return a byte buffer containing the digest value.
     */
    digest(): Uint8Array;
}
export {};
//# sourceMappingURL=sha256.d.ts.map