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