/* tslint:disable */
/* eslint-disable */
/**
*/
export function main(): void;
/**
*/
export enum CertificationTestError {
  UnableToHashTree = 0,
  WitnessGenerationFailed = 1,
  ThresholdSigningFailed = 2,
  CertificateSerializationFailed = 3,
  TimestampLebEncodingFailed = 4,
  CanisterIdParsingFailed = 5,
  PublicKeyEncodingFailed = 6,
  CanisterParamsOrCustomTreeRequired = 7,
  BothCanisterParamsAndCustomTreeProvided = 8,
  WitnessMergingFailed = 9,
}
/**
*/
export class CertificateBuilder {
  free(): void;
/**
* @param {string} canister_id
* @param {Uint8Array} certified_data
*/
  constructor(canister_id: string, certified_data: Uint8Array);
/**
* @param {bigint} subnet_id
* @param {any[]} canister_id_ranges
* @returns {CertificateBuilder}
*/
  withDelegation(subnet_id: bigint, canister_id_ranges: any[]): CertificateBuilder;
/**
* @param {bigint} time
* @returns {CertificateBuilder}
*/
  withTime(time: bigint): CertificateBuilder;
/**
* @returns {CertificateBuilder}
*/
  withInvalidSignature(): CertificateBuilder;
/**
* @returns {CertificateData}
*/
  build(): CertificateData;
}
/**
*/
export class CertificateData {
/**
** Return copy of self without private attributes.
*/
  toJSON(): Object;
/**
* Return stringified version of self.
*/
  toString(): string;
  free(): void;
/**
*/
  cborEncodedCertificate: Uint8Array;
/**
*/
  certificate: any;
/**
*/
  rootKey: Uint8Array;
}
