/**
* @since 2.0.0
*/
import { Effect } from "effect";
import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs";
/**
* Type alias for the CML LegacyRedeemer class
*
* @since 2.0.0
* @category Types
*/
export type LegacyRedeemer = CML.LegacyRedeemer;
declare const LegacyRedeemerError_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: "LegacyRedeemerError";
} & Readonly;
/**
* Error class for LegacyRedeemer operations
*
* This error is thrown when operations on LegacyRedeemer instances fail.
*
* @since 2.0.0
* @category Errors
*/
export declare class LegacyRedeemerError extends LegacyRedeemerError_base<{
message?: string;
}> {
}
/**
* Method free of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const free: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.free without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const freeUnsafe: (instance: CML.LegacyRedeemer) => void;
/**
* Method toCborBytes of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborBytes: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.toCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborBytesUnsafe: (instance: CML.LegacyRedeemer) => Uint8Array;
/**
* Method toCanonicalCborBytes of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborBytes: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborBytesUnsafe: (instance: CML.LegacyRedeemer) => Uint8Array;
/**
* Static method fromCborBytes of LegacyRedeemer
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect;
/**
* Unsafely calls LegacyRedeemer.fromCborBytes without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.LegacyRedeemer;
/**
* Method toCborHex of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborHex: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.toCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborHexUnsafe: (instance: CML.LegacyRedeemer) => string;
/**
* Method toCanonicalCborHex of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborHex: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborHexUnsafe: (instance: CML.LegacyRedeemer) => string;
/**
* Static method fromCborHex of LegacyRedeemer
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborHex: (cborBytes: string) => Effect.Effect;
/**
* Unsafely calls LegacyRedeemer.fromCborHex without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborHexUnsafe: (cborBytes: string) => CML.LegacyRedeemer;
/**
* Method toJson of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const toJson: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.toJson without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsonUnsafe: (instance: CML.LegacyRedeemer) => string;
/**
* Method toJsValue of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const toJsValue: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.toJsValue without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsValueUnsafe: (instance: CML.LegacyRedeemer) => any;
/**
* Static method fromJson of LegacyRedeemer
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromJson: (json: string) => Effect.Effect;
/**
* Unsafely calls LegacyRedeemer.fromJson without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromJsonUnsafe: (json: string) => CML.LegacyRedeemer;
/**
* Method tag of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const tag: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.tag without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const tagUnsafe: (instance: CML.LegacyRedeemer) => CML.RedeemerTag;
/**
* Method index of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const index: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.index without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const indexUnsafe: (instance: CML.LegacyRedeemer) => bigint;
/**
* Method data of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const data: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.data without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const dataUnsafe: (instance: CML.LegacyRedeemer) => CML.PlutusData;
/**
* Method exUnits of LegacyRedeemer
*
* @since 2.0.0
* @category Methods
*/
export declare const exUnits: (instance: CML.LegacyRedeemer) => Effect.Effect;
/**
* Unsafely calls instance.exUnits without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const exUnitsUnsafe: (instance: CML.LegacyRedeemer) => CML.ExUnits;
/**
* Static method _new of LegacyRedeemer
*
* @since 2.0.0
* @category Constructors
*/
export declare const _new: (tag: CML.RedeemerTag, index: bigint, data: CML.PlutusData, exUnits: CML.ExUnits) => Effect.Effect;
/**
* Unsafely calls LegacyRedeemer._new without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const _newUnsafe: (tag: CML.RedeemerTag, index: bigint, data: CML.PlutusData, exUnits: CML.ExUnits) => CML.LegacyRedeemer;
export {};
//# sourceMappingURL=LegacyRedeemer.d.ts.map