import { KeystoreT, MnemomicT } from "../../crypto/index"; import { Observable } from "rxjs"; import { Signing, SigningKeysT, SigningKeyT, AddSigningKeyByPrivateKeyInput } from "../signing-key/_types"; import { HDPathRadixT } from "../../crypto/index"; import { HardwareWalletT } from "../../hardware-wallet/index"; export declare type HWSigningKeyDerivation = "next" | HDPathRadixT; export declare type DeriveHWSigningKeyInput = { keyDerivation: HWSigningKeyDerivation; hardwareWalletConnection: Observable; alsoSwitchTo: boolean; verificationPrompt?: boolean; }; export declare type DeriveNextInput = undefined | { isHardened?: boolean; alsoSwitchTo?: boolean; }; export declare type ByEncryptingMnemonicAndSavingKeystoreInput = { mnemonic: MnemomicT; password: string; save: (keystoreToSave: KeystoreT) => Promise; startWithInitialSigningKey?: boolean; }; export declare type FromKeystoreInput = { keystore: KeystoreT; password: string; startWithInitialSigningKey?: boolean; }; export declare type CreateSigningKeychainInput = { mnemonic: MnemomicT; startWithInitialSigningKey?: boolean; }; export declare type MutableSigningKeysT = SigningKeysT & { add: (signingKey: SigningKeyT) => void; }; export declare type SigningKeychainT = Signing & { revealMnemonic: () => MnemomicT; restoreLocalHDSigningKeysUpToIndex: (index: number) => Observable; deriveNextLocalHDSigningKey: (input?: DeriveNextInput) => Observable; deriveHWSigningKey: (input: DeriveHWSigningKeyInput) => Observable; addSigningKeyFromPrivateKey: (input: AddSigningKeyByPrivateKeyInput) => SigningKeyT; switchSigningKey: (input: SwitchSigningKeyInput) => SigningKeyT; observeActiveSigningKey: () => Observable; observeSigningKeys: () => Observable; }; export declare type SwitchToSigningKey = { toSigningKey: SigningKeyT; }; export declare type SwitchToIndex = { toIndex: number; }; export declare type SwitchSigningKeyInput = "first" | "last" | SwitchToSigningKey | SwitchToIndex; export declare type ByLoadingAndDecryptingKeystoreInput = { password: string; load: () => Promise; startWithInitialSigningKey?: boolean; }; //# sourceMappingURL=_types.d.ts.map