export { LogEntry, LogHandler, LogLevel, Logger, LoggerConfig, configure, createLogger } from '@parity/product-sdk-logger'; import { c as AppConfig, b as App } from './types-CztPAgZT.js'; export { A as Account, C as ChainApi, a as CloudStorageApi, D as DotNsIdentitySignature, L as LocalStorageApi, S as SignMessageWithDotNsIdentityArgs, W as WalletApi } from './types-CztPAgZT.js'; export { Result, err, isErrorOf, ok } from '@parity/result'; export { SdkError, isSdkError } from '@parity/product-sdk-errors'; export { isInsideContainer, isInsideContainerSync } from '@parity/product-sdk-host'; export { ChainClient, createChainClient } from '@parity/product-sdk-chain-client'; export { SignerManager } from '@parity/product-sdk-signer'; export { createLocalKvStore } from '@parity/product-sdk-local-storage'; export { CloudStorageClient, calculateCid } from '@parity/product-sdk-cloud-storage'; export { ChainDefinition, PolkadotClient, TypedApi } from 'polkadot-api'; import './dotns-hLSvmo6u.js'; /** * createApp - Main entry point for the Product SDK * * Creates an App instance with wallet, storage, chain, and cloud storage APIs. */ /** * Create a new Product SDK app instance * * @param config - Application configuration * @returns App instance with all APIs * * @example * ```ts * import { createApp } from '@parity/product-sdk'; * * // Default: cloud storage enabled with paseo environment * const app = await createApp({ * name: 'my-app', * logLevel: 'info', * }); * * // Custom cloud storage environment * const prodApp = await createApp({ * name: 'my-app', * cloudStorage: { environment: 'polkadot' }, * }); * * // Disable cloud storage entirely * const noCloudStorageApp = await createApp({ * name: 'my-app', * cloudStorage: false, * }); * * // Connect wallet * const { accounts } = await app.wallet.connect(); * * // Use storage * await app.localStorage.set('key', 'value'); * * // Use cloud storage (check for null if it might be disabled) * if (app.cloudStorage) { * const cid = await app.cloudStorage.upload('hello world'); * } * ``` */ declare function createApp(config: AppConfig): Promise; export { App, AppConfig, createApp };