/**
 * Diamond Hands SDK Package
 * Diamond Hands Protocol - SDK Operations
 *
 * Provides high-level interface for Diamond Hands Protocol operations supporting:
 * - Loan creation with PKP integration
 * - Smart contract interactions
 * - LIT Protocol operations
 * - Bitcoin custody and operations
 *
 * Version 2.0 - Complete rewrite with full type safety
 */
export { DiamondHandsSDK } from './modules/diamond-hands-sdk';
export { DiamondHandsSDK as default } from './modules/diamond-hands-sdk';
export type { UCD, Satoshis, Wei, BPS, UnixTimestamp, BlockNumber, } from './types/branded/domain-values';
export { UCDConversions, SatoshisConversions, WeiConversions, BPSConversions, } from './types/branded/domain-values';
export type { Result, Success, Failure, } from './types/result';
export { success, failure, isSuccess, isFailure, unwrap, unwrapOr, map, mapError, andThen, firstSuccess, collectSuccesses, collectFailures, combine, tryCatch, tryCatchAsync, toPromise, fromPromise, match, } from './types/result';
export type { AuthorizationParams, CreateLoanAuthParams, MintUCDAuthParams, WithdrawBTCAuthParams, RepayDebtAuthParams, ExtendTermAuthParams, ClosePositionAuthParams, } from './types/authorization-params';
export { isCreateLoanAuth, isMintUCDAuth, isWithdrawBTCAuth, isRepayDebtAuth, isExtendTermAuth, isClosePositionAuth, AuthParamsValidation, } from './types/authorization-params';
export { ContractManager, createContractManager, } from './modules/contract/contract-manager.module';
export type { ContractManagerConfig, ManagedContracts, } from './modules/contract/contract-manager.module';
export { LRUCache, CacheManager, createCacheManager, } from './modules/cache/cache-manager.module';
export type { CacheConfig, CacheStats, } from './modules/cache/cache-manager.module';
export { PKPManager, createPKPManager, } from './modules/pkp/pkp-manager.module';
export type { PKPManagerConfig, } from './modules/pkp/pkp-manager.module';
export { LoanCreator, createLoanCreator, } from './modules/loan/loan-creator.module';
export type { LoanCreatorConfig, LoanCreationAudit, } from './modules/loan/loan-creator.module';
export { LoanQuery, createLoanQuery, } from './modules/loan/loan-query.module';
export type { LoanQueryConfig, LoanQueryFilters, PaginationParams, } from './modules/loan/loan-query.module';
export { BitcoinOperations, createBitcoinOperations, } from './modules/bitcoin/bitcoin-operations.module';
export type { BitcoinOperationsConfig, BitcoinNetwork, EnrichedBitcoinBalance, } from './modules/bitcoin/bitcoin-operations.module';
export { MockTokenManager, createMockTokenManager, } from './modules/mock/mock-token-manager.module';
export type { SupportedStablecoinData } from './graphs/diamond-hands';
export type { MockTokenManagerConfig, MockTokenTransactionResult, } from './modules/mock/mock-token-manager.module';
export { validateSDKConfig, validateServiceModeConfig, validateStandaloneModeConfig, isServiceModeConfig, isStandaloneModeConfig, } from './interfaces/chunks/config.i';
export { assertSafeServiceEndpoint } from './utils/service-endpoint-policy';
export { DEFAULT_LIT_NETWORK, VALID_LIT_NETWORKS, SDK_DEFAULTS, } from './constants/chunks/sdk-config';
export { ALL_CONTRACTS, ALL_DEPLOYMENTS, getContractsByNetwork, getDeploymentByNetwork, LOCALHOST_CONTRACTS, SEPOLIA_CONTRACTS, } from './constants/chunks/deployment-addresses';
export type { DeploymentContracts, DeploymentData, DeploymentLatestEnv, } from './constants/chunks/deployment-addresses';
export type { CreateLoanRequest, CreateLoanResult, LoanData, LoanDataDetail, PaginatedLoansResponse, PKPValidationData, BitcoinAddresses, } from './interfaces/chunks/loan-operations.i';
export type { DiamondHandsSDKConfig, SDKMode, ContractAddresses, BitcoinProviderConfig, } from './interfaces/chunks/config.i';
export type { PKPData, PKPCreationRequest, PKPCreationResult, PKPValidationResult, } from './interfaces/chunks/pkp-integration.i';
export type { AuthorizationRequest, AuthorizationResult, BTCDepositRequest, BTCDepositResult, } from './interfaces/chunks/requests.i';
export { LoanStatus } from './types/loanStatus';
export type { LoanEvents, LoanEventsFilter, PositionCreatedEvent, PaymentEvent, StatusUpdateEvent, LiquidationEvent, UCDMintEvent, WithdrawalEvent, RenewalEvent, OperationFailureEvent, MintRequestEvent, BurnRequestEvent, CollateralContractEvent, } from './types/event-types';
export { PaymentType, PositionStatus, isValidPositionStatus, isValidPaymentType, numericToPositionStatus, EventHelpers, } from './types/event-types';
export type { ProtocolEvent, ProtocolEventsFilter, ProtocolEventsResult, } from './types/protocol-event-types';
export { fetchProtocolPauseStatus, assertProtocolNotPaused, } from './protocol/protocol-pause';
export type { ProtocolPauseStatus, ProtocolPauseKey, } from './protocol/protocol-pause';
export { SDKError, ErrorCategory, ErrorSeverity } from './utils/error-handler';
export { setPositionDelegate, getPositionDelegate } from './utils/position-delegate.utils';
export { buildBtcExecuteEnvelope, } from './utils/btc-withdrawal-message';
export type { BtcExecuteSignParams, BtcExecuteSignedEnvelope, } from './utils/btc-withdrawal-message';
