/**
* @since 2.0.0
*/
import { Effect } from "effect";
import * as CML from "@anastasia-labs/cardano-multiplatform-lib-nodejs";
/**
* Type alias for the CML SingleHostAddr class
*
* @since 2.0.0
* @category Types
*/
export type SingleHostAddr = CML.SingleHostAddr;
declare const SingleHostAddrError_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: "SingleHostAddrError";
} & Readonly;
/**
* Error class for SingleHostAddr operations
*
* This error is thrown when operations on SingleHostAddr instances fail.
*
* @since 2.0.0
* @category Errors
*/
export declare class SingleHostAddrError extends SingleHostAddrError_base<{
message?: string;
}> {
}
/**
* Method free of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const free: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.free without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const freeUnsafe: (instance: CML.SingleHostAddr) => void;
/**
* Method toCborBytes of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborBytes: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.toCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborBytesUnsafe: (instance: CML.SingleHostAddr) => Uint8Array;
/**
* Method toCanonicalCborBytes of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborBytes: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborBytes without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborBytesUnsafe: (instance: CML.SingleHostAddr) => Uint8Array;
/**
* Static method fromCborBytes of SingleHostAddr
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborBytes: (cborBytes: Uint8Array) => Effect.Effect;
/**
* Unsafely calls SingleHostAddr.fromCborBytes without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborBytesUnsafe: (cborBytes: Uint8Array) => CML.SingleHostAddr;
/**
* Method toCborHex of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const toCborHex: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.toCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCborHexUnsafe: (instance: CML.SingleHostAddr) => string;
/**
* Method toCanonicalCborHex of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const toCanonicalCborHex: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.toCanonicalCborHex without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toCanonicalCborHexUnsafe: (instance: CML.SingleHostAddr) => string;
/**
* Static method fromCborHex of SingleHostAddr
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromCborHex: (cborBytes: string) => Effect.Effect;
/**
* Unsafely calls SingleHostAddr.fromCborHex without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromCborHexUnsafe: (cborBytes: string) => CML.SingleHostAddr;
/**
* Method toJson of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const toJson: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.toJson without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsonUnsafe: (instance: CML.SingleHostAddr) => string;
/**
* Method toJsValue of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const toJsValue: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.toJsValue without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const toJsValueUnsafe: (instance: CML.SingleHostAddr) => any;
/**
* Static method fromJson of SingleHostAddr
*
* @since 2.0.0
* @category Constructors
*/
export declare const fromJson: (json: string) => Effect.Effect;
/**
* Unsafely calls SingleHostAddr.fromJson without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const fromJsonUnsafe: (json: string) => CML.SingleHostAddr;
/**
* Method port of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const port: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.port without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const portUnsafe: (instance: CML.SingleHostAddr) => number | undefined;
/**
* Method ipv4 of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const ipv4: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.ipv4 without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const ipv4Unsafe: (instance: CML.SingleHostAddr) => CML.Ipv4 | undefined;
/**
* Method ipv6 of SingleHostAddr
*
* @since 2.0.0
* @category Methods
*/
export declare const ipv6: (instance: CML.SingleHostAddr) => Effect.Effect;
/**
* Unsafely calls instance.ipv6 without Effect wrapper
*
* @since 2.0.0
* @category MethodsUnsafe
*/
export declare const ipv6Unsafe: (instance: CML.SingleHostAddr) => CML.Ipv6 | undefined;
/**
* Static method _new of SingleHostAddr
*
* @since 2.0.0
* @category Constructors
*/
export declare const _new: (port: number, ipv4: CML.Ipv4, ipv6: CML.Ipv6) => Effect.Effect;
/**
* Unsafely calls SingleHostAddr._new without Effect wrapper
*
* @since 2.0.0
* @category ConstructorsUnsafe
*/
export declare const _newUnsafe: (port: number, ipv4: CML.Ipv4, ipv6: CML.Ipv6) => CML.SingleHostAddr;
export {};
//# sourceMappingURL=SingleHostAddr.d.ts.map