import { Jwk } from "../../../modules/kms/jwk/jwk.js";
import { Buffer } from "../../../utils/buffer.js";
import { JwtPayload } from "./JwtPayload.js";

//#region src/crypto/jose/jwt/Jwt.d.ts
interface JwtHeader {
  alg: string;
  kid?: string;
  jwk?: Jwk;
  x5c?: string[];
  [key: string]: unknown;
}
declare class Jwt {
  static format: RegExp;
  readonly payload: JwtPayload;
  readonly header: JwtHeader;
  readonly signature: Buffer;
  /**
   * Compact serialization of the JWT. Contains the payload, header, and signature.
   */
  readonly serializedJwt: string;
  private constructor();
  static fromSerializedJwt(serializedJwt: string): Jwt;
}
//#endregion
export { Jwt };
//# sourceMappingURL=Jwt.d.ts.map