/* auto-generated by NAPI-RS */
/* eslint-disable */
export declare class Xxh32 {
  constructor(seed?: number | undefined | null)
  update(input: string | Uint8Array): this
  digest(): number
  reset(newState?: number | undefined | null): void
}

export declare class Xxh64 {
  constructor(seed?: bigint | undefined | null)
  update(input: string | Uint8Array): this
  digest(): bigint
  reset(newState?: bigint | undefined | null): void
}

export declare function xxh32(input: Uint8Array | string, seed?: number | undefined | null): number

export declare function xxh64(input: Uint8Array | string, seed?: bigint | undefined | null): bigint

export declare namespace xxh3 {
  export class Xxh3 {
    static withSeed(seed?: bigint | undefined | null): Xxh3
    static withSecret(secret: Uint8Array): Xxh3
    update(input: string | Uint8Array): this
    digest(): bigint
    reset(): void
  }
  export function xxh128(input: string | Uint8Array, seed?: bigint | undefined | null): bigint
  export function xxh128WithSecret(input: string | Uint8Array, secret: Uint8Array): bigint
  export function xxh64(input: Uint8Array | string, seed?: bigint | undefined | null): bigint
  export function xxh64WithSecret(input: string | Uint8Array, secret: Uint8Array): bigint
}
