import { ProjPointType } from '@noble/curves/abstract/weierstrass'; export type Enumerate = Acc['length'] extends N ? Acc[number] : Enumerate; export type IntRange = Exclude, Enumerate>; export type MintKeys = { [k: string]: Uint8Array; }; export type SerializedMintKeys = { [k: string]: string; }; export type Keyset = { id: string; unit: string; active: boolean; }; export type BlindSignature = { C_: ProjPointType; amount: number; id: string; }; export type SerializedBlindSignature = { C_: string; amount: number; id: string; }; export type Proof = { C: ProjPointType; secret: Uint8Array; amount: number; id: string; witness?: Witness; }; export type SerializedProof = { C: string; secret: string; amount: number; id: string; witness?: string; }; export type SerializedBlindedMessage = { B_: string; amount: number; witness?: string; }; export type Secret = [WellKnownSecret, SecretData]; export type WellKnownSecret = 'P2PK'; export type SecretData = { nonce: string; data: string; tags?: Array>; }; export type Witness = { signatures: Array; }; export type Tags = { [k: string]: string; }; export type SigFlag = 'SIG_INPUTS' | 'SIG_ALL'; export declare function hashToCurve(secret: Uint8Array): ProjPointType; export declare function pointFromHex(hex: string): ProjPointType; export declare const getKeysetIdInt: (keysetId: string) => bigint; export declare function createRandomPrivateKey(): Uint8Array; export declare function serializeMintKeys(mintKeys: MintKeys): SerializedMintKeys; export declare function deserializeMintKeys(serializedMintKeys: SerializedMintKeys): MintKeys; export declare function deriveKeysetId(keys: MintKeys): string; //# sourceMappingURL=index.d.ts.map