/**
* @since 2.0.0
*/
import { Effect } from "effect";
import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs";
/**
* Type alias for the CML Certificate class
*
* @since 2.0.0
* @category Types
*/
export type Certificate = CML.Certificate;
declare const CertificateError_base: new = {}>(args: import("effect/Types").Equals extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
readonly _tag: "CertificateError";
} & Readonly;
/**
* Error class for Certificate operations
*
* This error is thrown when operations on Certificate instances fail.
*
* @since 2.0.0
* @category Errors
*/
export declare class CertificateError extends CertificateError_base<{
message?: string;
}> {
}
/**
* Method free of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const free: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.free without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const freeUnsafe: (instance: CML.Certificate) => void;
/**
* Method toCborBytes of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborBytes: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.toCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborBytesUnsafe: (instance: CML.Certificate) => Uint8Array;
/**
* Method toCanonicalCborBytes of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborBytes: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborBytesUnsafe: (instance: CML.Certificate) => Uint8Array;
/**
* Static method fromCborBytes of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect;
/**
* Unsafely calls Certificate.fromCborBytes without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.Certificate;
/**
* Method toCborHex of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborHex: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.toCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborHexUnsafe: (instance: CML.Certificate) => string;
/**
* Method toCanonicalCborHex of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborHex: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborHexUnsafe: (instance: CML.Certificate) => string;
/**
* Static method fromCborHex of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborHex: (cborBytes: string) => Effect.Effect;
/**
* Unsafely calls Certificate.fromCborHex without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborHexUnsafe: (cborBytes: string) => CML.Certificate;
/**
* Method toJson of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const toJson: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.toJson without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsonUnsafe: (instance: CML.Certificate) => string;
/**
* Method toJsValue of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const toJsValue: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.toJsValue without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsValueUnsafe: (instance: CML.Certificate) => any;
/**
* Static method fromJson of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromJson: (json: string) => Effect.Effect;
/**
* Unsafely calls Certificate.fromJson without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromJsonUnsafe: (json: string) => CML.Certificate;
/**
* Static method newStakeRegistration of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newStakeRegistration: (stakeCredential: CML.Credential) => Effect.Effect;
/**
* Unsafely calls Certificate.newStakeRegistration without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newStakeRegistrationUnsafe: (stakeCredential: CML.Credential) => CML.Certificate;
/**
* Static method newStakeDeregistration of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newStakeDeregistration: (stakeCredential: CML.Credential) => Effect.Effect;
/**
* Unsafely calls Certificate.newStakeDeregistration without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newStakeDeregistrationUnsafe: (stakeCredential: CML.Credential) => CML.Certificate;
/**
* Static method newStakeDelegation of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newStakeDelegation: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash) => Effect.Effect;
/**
* Unsafely calls Certificate.newStakeDelegation without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newStakeDelegationUnsafe: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash) => CML.Certificate;
/**
* Static method newPoolRegistration of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newPoolRegistration: (poolParams: CML.PoolParams) => Effect.Effect;
/**
* Unsafely calls Certificate.newPoolRegistration without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newPoolRegistrationUnsafe: (poolParams: CML.PoolParams) => CML.Certificate;
/**
* Static method newPoolRetirement of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newPoolRetirement: (pool: CML.Ed25519KeyHash, epoch: bigint) => Effect.Effect;
/**
* Unsafely calls Certificate.newPoolRetirement without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newPoolRetirementUnsafe: (pool: CML.Ed25519KeyHash, epoch: bigint) => CML.Certificate;
/**
* Static method newRegCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newRegCert: (stakeCredential: CML.Credential, deposit: bigint) => Effect.Effect;
/**
* Unsafely calls Certificate.newRegCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newRegCertUnsafe: (stakeCredential: CML.Credential, deposit: bigint) => CML.Certificate;
/**
* Static method newUnregCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newUnregCert: (stakeCredential: CML.Credential, deposit: bigint) => Effect.Effect;
/**
* Unsafely calls Certificate.newUnregCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newUnregCertUnsafe: (stakeCredential: CML.Credential, deposit: bigint) => CML.Certificate;
/**
* Static method newVoteDelegCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newVoteDelegCert: (stakeCredential: CML.Credential, dRep: CML.DRep) => Effect.Effect;
/**
* Unsafely calls Certificate.newVoteDelegCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newVoteDelegCertUnsafe: (stakeCredential: CML.Credential, dRep: CML.DRep) => CML.Certificate;
/**
* Static method newStakeVoteDelegCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newStakeVoteDelegCert: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash, dRep: CML.DRep) => Effect.Effect;
/**
* Unsafely calls Certificate.newStakeVoteDelegCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newStakeVoteDelegCertUnsafe: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash, dRep: CML.DRep) => CML.Certificate;
/**
* Static method newStakeRegDelegCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newStakeRegDelegCert: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash, deposit: bigint) => Effect.Effect;
/**
* Unsafely calls Certificate.newStakeRegDelegCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newStakeRegDelegCertUnsafe: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash, deposit: bigint) => CML.Certificate;
/**
* Static method newVoteRegDelegCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newVoteRegDelegCert: (stakeCredential: CML.Credential, dRep: CML.DRep, deposit: bigint) => Effect.Effect;
/**
* Unsafely calls Certificate.newVoteRegDelegCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newVoteRegDelegCertUnsafe: (stakeCredential: CML.Credential, dRep: CML.DRep, deposit: bigint) => CML.Certificate;
/**
* Static method newStakeVoteRegDelegCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newStakeVoteRegDelegCert: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash, dRep: CML.DRep, deposit: bigint) => Effect.Effect;
/**
* Unsafely calls Certificate.newStakeVoteRegDelegCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newStakeVoteRegDelegCertUnsafe: (stakeCredential: CML.Credential, pool: CML.Ed25519KeyHash, dRep: CML.DRep, deposit: bigint) => CML.Certificate;
/**
* Static method newAuthCommitteeHotCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newAuthCommitteeHotCert: (committeeColdCredential: CML.Credential, committeeHotCredential: CML.Credential) => Effect.Effect;
/**
* Unsafely calls Certificate.newAuthCommitteeHotCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newAuthCommitteeHotCertUnsafe: (committeeColdCredential: CML.Credential, committeeHotCredential: CML.Credential) => CML.Certificate;
/**
* Static method newResignCommitteeColdCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newResignCommitteeColdCert: (committeeColdCredential: CML.Credential, anchor: CML.Anchor) => Effect.Effect;
/**
* Unsafely calls Certificate.newResignCommitteeColdCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newResignCommitteeColdCertUnsafe: (committeeColdCredential: CML.Credential, anchor: CML.Anchor) => CML.Certificate;
/**
* Static method newRegDrepCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newRegDrepCert: (drepCredential: CML.Credential, deposit: bigint, anchor: CML.Anchor) => Effect.Effect;
/**
* Unsafely calls Certificate.newRegDrepCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newRegDrepCertUnsafe: (drepCredential: CML.Credential, deposit: bigint, anchor: CML.Anchor) => CML.Certificate;
/**
* Static method newUnregDrepCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newUnregDrepCert: (drepCredential: CML.Credential, deposit: bigint) => Effect.Effect;
/**
* Unsafely calls Certificate.newUnregDrepCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newUnregDrepCertUnsafe: (drepCredential: CML.Credential, deposit: bigint) => CML.Certificate;
/**
* Static method newUpdateDrepCert of Certificate
*
* @since 2.0.0
* @category Constructors
*/
export declare const newUpdateDrepCert: (drepCredential: CML.Credential, anchor: CML.Anchor) => Effect.Effect;
/**
* Unsafely calls Certificate.newUpdateDrepCert without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const newUpdateDrepCertUnsafe: (drepCredential: CML.Credential, anchor: CML.Anchor) => CML.Certificate;
/**
* Method kind of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const kind: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.kind without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const kindUnsafe: (instance: CML.Certificate) => CML.CertificateKind;
/**
* Method asStakeRegistration of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asStakeRegistration: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asStakeRegistration without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asStakeRegistrationUnsafe: (instance: CML.Certificate) => CML.StakeRegistration | undefined;
/**
* Method asStakeDeregistration of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asStakeDeregistration: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asStakeDeregistration without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asStakeDeregistrationUnsafe: (instance: CML.Certificate) => CML.StakeDeregistration | undefined;
/**
* Method asStakeDelegation of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asStakeDelegation: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asStakeDelegation without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asStakeDelegationUnsafe: (instance: CML.Certificate) => CML.StakeDelegation | undefined;
/**
* Method asPoolRegistration of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asPoolRegistration: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asPoolRegistration without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asPoolRegistrationUnsafe: (instance: CML.Certificate) => CML.PoolRegistration | undefined;
/**
* Method asPoolRetirement of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asPoolRetirement: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asPoolRetirement without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asPoolRetirementUnsafe: (instance: CML.Certificate) => CML.PoolRetirement | undefined;
/**
* Method asRegCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asRegCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asRegCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asRegCertUnsafe: (instance: CML.Certificate) => CML.RegCert | undefined;
/**
* Method asUnregCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asUnregCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asUnregCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asUnregCertUnsafe: (instance: CML.Certificate) => CML.UnregCert | undefined;
/**
* Method asVoteDelegCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asVoteDelegCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asVoteDelegCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asVoteDelegCertUnsafe: (instance: CML.Certificate) => CML.VoteDelegCert | undefined;
/**
* Method asStakeVoteDelegCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asStakeVoteDelegCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asStakeVoteDelegCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asStakeVoteDelegCertUnsafe: (instance: CML.Certificate) => CML.StakeVoteDelegCert | undefined;
/**
* Method asStakeRegDelegCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asStakeRegDelegCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asStakeRegDelegCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asStakeRegDelegCertUnsafe: (instance: CML.Certificate) => CML.StakeRegDelegCert | undefined;
/**
* Method asVoteRegDelegCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asVoteRegDelegCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asVoteRegDelegCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asVoteRegDelegCertUnsafe: (instance: CML.Certificate) => CML.VoteRegDelegCert | undefined;
/**
* Method asStakeVoteRegDelegCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asStakeVoteRegDelegCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asStakeVoteRegDelegCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asStakeVoteRegDelegCertUnsafe: (instance: CML.Certificate) => CML.StakeVoteRegDelegCert | undefined;
/**
* Method asAuthCommitteeHotCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asAuthCommitteeHotCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asAuthCommitteeHotCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asAuthCommitteeHotCertUnsafe: (instance: CML.Certificate) => CML.AuthCommitteeHotCert | undefined;
/**
* Method asResignCommitteeColdCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asResignCommitteeColdCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asResignCommitteeColdCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asResignCommitteeColdCertUnsafe: (instance: CML.Certificate) => CML.ResignCommitteeColdCert | undefined;
/**
* Method asRegDrepCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asRegDrepCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asRegDrepCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asRegDrepCertUnsafe: (instance: CML.Certificate) => CML.RegDrepCert | undefined;
/**
* Method asUnregDrepCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asUnregDrepCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asUnregDrepCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asUnregDrepCertUnsafe: (instance: CML.Certificate) => CML.UnregDrepCert | undefined;
/**
* Method asUpdateDrepCert of Certificate
*
* @since 2.0.0
* @category Methods
*/
export declare const asUpdateDrepCert: (instance: CML.Certificate) => Effect.Effect;
/**
* Unsafely calls instance.asUpdateDrepCert without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const asUpdateDrepCertUnsafe: (instance: CML.Certificate) => CML.UpdateDrepCert | undefined;
export {};
//# sourceMappingURL=Certificate.d.ts.map