export { A as AuthClient, a as AuthConfig, C as ConnectResult, L as LoginHandle, b as LoginStatus, c as LogoutHandle, d as LogoutStatus, S as SessionAddresses, e as SessionHandle, f as createAuthClient } from '../../auth-CA_YKtM2.js'; import { UserSession } from '@parity/product-sdk-terminal'; import { PolkadotSigner } from 'polkadot-api'; export { R as ResolvedSigner, S as SignerNotAvailableError, a as SignerOptions, b as SignerSource, p as parseDevAccountName, r as resolveSigner } from '../../signer-Duup0hgQ.js'; export { A as AllocatableResource, a as AllocationOutcome, b as AllocationSummary, B as BULLETIN_RESOURCE, D as DEFAULT_RESOURCES, O as OnExistingAllowancePolicy, R as ResourceTag, c as createSlotAccountSigner, r as requestResourceAllocation, s as summarizeOutcomes } from '../../allocations-CEPeZr6T.js'; import '@parity/product-sdk-tx'; interface ProductAccountRef { productId: string; derivationIndex: number; } declare const INCOMPLETE_SESSION_MESSAGE = "Stored login session is missing the root account public key. Run \"logout\" and then \"login\" to pair again."; declare function sessionRootPublicKey(session: UserSession): Uint8Array; /** * Soft-derive the product account public key off a wallet root. * * This is the single source of truth for product-account math. Both * `createSessionSigner` (which builds the signer used to actually sign * on-chain) and `deriveSessionAddresses` (which builds the display triple) * go through here so a future change to derivation params can't silently * desync the signer from what we print. * * sr25519 soft derivation is composable on public keys alone, so deriving * from `rootAccountId` locally produces the SAME public key the mobile * derives privately via `mnemonic + "/product/...{idx}"`. Algorithm parity * with mobile/desktop is locked by the frozen vectors in * `@parity/product-sdk-keys`'s `product-account.test.ts`. */ declare function deriveProductPublicKey(rootAccountId: Uint8Array, ref: ProductAccountRef): Uint8Array; declare function createSessionSigner(session: UserSession, ref: ProductAccountRef): PolkadotSigner; export { INCOMPLETE_SESSION_MESSAGE, type ProductAccountRef, createSessionSigner, deriveProductPublicKey, sessionRootPublicKey };