export declare class MessageHash {
    static readonly LENGTH = 32;
    readonly bytes: Uint8Array;
        constructor(bytes: Uint8Array | string);
        static sha256(message: Uint8Array | string): MessageHash;
        static sha256d(message: Uint8Array | string): MessageHash;
        static keccak256(message: Uint8Array | string): MessageHash;
    toHex(): string;
}
export declare class EcdsaPublicKey {
    private static readonly LENGTH;
    private readonly pubkey;
        constructor(pubkey: Uint8Array | string);
        serializeUncompressed(): Uint8Array;
        serializeCompressed(): Uint8Array;
        pubKeyAsHex(): string;
}
export declare class EcdsaKeygenResult {
    pubkey: EcdsaPublicKey;
    secretShare: string;
        constructor(pubkey: EcdsaPublicKey, secretShare: string);
}
export declare class EcdsaInitKeygenResult {
    keygenId: string;
    keygenSecret: string;
        constructor(keygenId: string, keygenSecret: string);
}
export declare class Ed25519KeygenResult {
    pubkey: Uint8Array;
    secretShare: string;
        constructor(pubkey: Uint8Array, secretShare: string);
}
export declare class Ed25519InitKeygenResult {
    keygenId: string;
    keygenSecret: string;
        constructor(keygenId: string, keygenSecret: string);
}
export declare class Sr25519KeygenResult {
    pubkey: Uint8Array;
    secretShare: string;
        constructor(pubkey: Uint8Array, secretShare: string);
}
export declare class ExportableEd25519KeygenResult {
    pubkey: Uint8Array;
    secretShare: string;
        constructor(pubkey: Uint8Array, secretShare: string);
}
export declare class ExportableEd25519InitKeygenResult {
    keygenId: string;
    keygenSecret: string;
        constructor(keygenId: string, keygenSecret: string);
}
export declare class Sr25519InitKeygenResult {
    keygenId: string;
    keygenSecret: string;
        constructor(keygenId: string, keygenSecret: string);
}
export declare class EcdsaSignature {
    private static readonly FIELD_SIZE;
    private static readonly MAX_DER_LEN;
    private static readonly MIN_DER_LEN;
    readonly r: Uint8Array;
    readonly s: Uint8Array;
    readonly v: number;
    readonly der: Uint8Array;
    static fromBuffer(expandedSignature: Uint8Array | string): EcdsaSignature;
        constructor(r: Uint8Array, s: Uint8Array, v: number, DERencoding: Uint8Array);
}
export declare class BIP340KeygenResult {
    pubkey: Uint8Array;
    secretShare: string;
        constructor(pubkey: Uint8Array, secretShare: string);
}
export declare class BIP340InitKeygenResult {
    keygenId: string;
    keygenSecret: string;
        constructor(keygenId: string, keygenSecret: string);
}
export type EdBls12377FieldElement = Uint8Array;
export type EdBls12377GroupElement = Uint8Array;
export interface EdBls12377SimpleRequestInput {
    type: 'constant' | 'public' | 'private' | 'external_record';
    index: EdBls12377FieldElement;
    fields: EdBls12377FieldElement[];
}
export interface EdBls12377RecordRequestInput {
    type: 'record';
    h: EdBls12377GroupElement;
    tag: EdBls12377FieldElement;
}
export type EdBls12377RequestInput = EdBls12377SimpleRequestInput | EdBls12377RecordRequestInput;
export interface EdBls12377RequestSignPayload {
    function_id: EdBls12377FieldElement;
    is_root: boolean;
    program_checksum: EdBls12377FieldElement | null;
    inputs: EdBls12377RequestInput[];
}
export interface EdBls12377SignedRequest {
    signer: Uint8Array;
    signature: Uint8Array;
    tvk: EdBls12377FieldElement;
    gammas: EdBls12377GroupElement[];
}
export declare class EdBls12377KeygenResult {
    computeKey: string;
    address: string;
    secretShare: string;
    constructor(computeKey: string, address: string, secretShare: string);
}
export declare class EdBls12377InitKeygenResult {
    keygenId: string;
    keygenSecret: string;
    constructor(keygenId: string, keygenSecret: string);
}
