/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import { Fr } from '@aztec/foundation/fields';
import { BufferReader } from '@aztec/foundation/serialize';
/**
 * An authentication witness. Used to authorize an action by a user.
 */
export declare class AuthWitness {
    /** Hash of the request to authorize */
    readonly requestHash: Fr;
    /** Authentication witness for the hash  */
    readonly witness: Fr[];
    constructor(
    /** Hash of the request to authorize */
    requestHash: Fr, 
    /** Authentication witness for the hash  */
    witness: (Fr | number)[]);
    static get schema(): import("zod").ZodType<AuthWitness, any, string>;
    toJSON(): `0x${string}`;
    toBuffer(): Buffer;
    static fromBuffer(buffer: Buffer | BufferReader): AuthWitness;
    toString(): `0x${string}`;
    static fromString(str: string): AuthWitness;
    static random(): AuthWitness;
}
//# sourceMappingURL=auth_witness.d.ts.map