/** * @import { BytesLike } from "@helios-lang/codec-utils" * @import { ConstrData, UplcData } from "@helios-lang/uplc" * @import { Address, PubKeyHash, ShelleyAddress, ShelleyAddressLike, SpendingCredential, StakingCredential } from "../index.js" */ /** * Returns a dummy address (based on a PubKeyHash with dummy bytes) * @param {boolean} mainnet * @param {number} seed * @returns {ShelleyAddress} */ export function makeDummyShelleyAddress(mainnet: boolean, seed?: number): ShelleyAddress; /** * @overload * @param {string} bech32 * @returns {ShelleyAddress} */ export function makeShelleyAddress(bech32: string): ShelleyAddress; /** * @template {SpendingCredential} [SC=SpendingCredential] * @overload * @param {boolean} mainnet * @param {SC} spendingCredential * @returns {ShelleyAddress} */ export function makeShelleyAddress(mainnet: boolean, spendingCredential: SC): ShelleyAddress; /** * @template {SpendingCredential} [SC=SpendingCredential] * @overload * @param {boolean} mainnet * @param {SC} spendingCredential * @param {StakingCredential | undefined} stakingCredential * @returns {ShelleyAddress} */ export function makeShelleyAddress(mainnet: boolean, spendingCredential: SC, stakingCredential: StakingCredential | undefined): ShelleyAddress; /** * @overload * @param {ShelleyAddressLike} addr * @returns {ShelleyAddress} */ export function makeShelleyAddress(addr: ShelleyAddressLike): ShelleyAddress; /** * @param {string} bech32 * @returns {ShelleyAddress} */ export function parseShelleyAddress(bech32: string): ShelleyAddress; /** * @param {boolean} mainnet * @param {UplcData} data * @returns {ShelleyAddress} */ export function convertUplcDataToShelleyAddress(mainnet: boolean, data: UplcData): ShelleyAddress; /** * Pointer addresses are on the deprecation path, so we can use the first byte to distinguish between wrapped CBOR bytes and unwrapped bytes * @param {BytesLike} bytes * @returns {ShelleyAddress} */ export function decodeShelleyAddress(bytes: BytesLike): ShelleyAddress; /** * @param {string} str * @returns {boolean} */ export function isValidBech32Address(str: string): boolean; import type { PubKeyHash } from "../index.js"; import type { ShelleyAddress } from "../index.js"; import type { SpendingCredential } from "../index.js"; import type { StakingCredential } from "../index.js"; import type { ShelleyAddressLike } from "../index.js"; import type { UplcData } from "@helios-lang/uplc"; import type { BytesLike } from "@helios-lang/codec-utils"; //# sourceMappingURL=ShelleyAddress.d.ts.map