import { Address, Credential, Datum, DatumHash, Delegation, OutRef, ProtocolParameters, Provider, RewardAddress, Transaction, TxHash, Unit, UTxO } from "../types/mod.js"; export type MaestroSupportedNetworks = "Mainnet" | "Preprod" | "Preview"; export interface MaestroConfig { network: MaestroSupportedNetworks; apiKey: string; turboSubmit?: boolean; } export declare class Maestro implements Provider { url: string; apiKey: string; turboSubmit: boolean; constructor({ network, apiKey, turboSubmit }: MaestroConfig); getProtocolParameters(): Promise; private getUtxosInternal; getUtxos(addressOrCredential: Address | Credential): Promise; getUtxosWithUnit(addressOrCredential: Address | Credential, unit: Unit): Promise; getUtxoByUnit(unit: Unit): Promise; getUtxosByOutRef(outRefs: OutRef[]): Promise; getDelegation(rewardAddress: RewardAddress): Promise; getDatum(datumHash: DatumHash): Promise; awaitTx(txHash: TxHash, checkInterval?: number): Promise; submitTx(tx: Transaction): Promise; private commonHeaders; private maestroUtxoToUtxo; private getAllPagesData; }