import { KeyRingService } from "../keyring"; import { Env } from "@keplr-wallet/router"; import { PermissionService } from "../permission"; import { ChainsService } from "../chains"; import { KVStore } from "@keplr-wallet/common"; export declare class PermissionInteractiveService { protected readonly kvStore: KVStore; protected readonly permissionService: PermissionService; protected readonly keyRingService: KeyRingService; protected readonly chainsService: ChainsService; protected lastOpenRegisterPageTimestamp: number; constructor(kvStore: KVStore, permissionService: PermissionService, keyRingService: KeyRingService, chainsService: ChainsService); init(): Promise; ensureKeyRingNotEmpty(env: Env): Promise; ensureKeyRingLedgerAppConnected(env: Env, app: "Ethereum" | "Starknet" | "Bitcoin" | "Bitcoin Test"): Promise; ensureEnabled(env: Env, chainIds: string[], origin: string): Promise; ensureEnabledForEVM(env: Env, origin: string, newCurrentChainId?: string): Promise; ensureEnabledForStarknet(env: Env, origin: string, newCurrentChainId?: string): Promise; ensureEnabledForBitcoin(env: Env, origin: string, newCurrentChainId?: string): Promise; disable(chainIds: string[], origin: string): void; isEnabled(env: Env, chainIds: string[], origin: string): boolean; checkOrGrantGetChainInfosWithoutEndpointsPermission(env: Env, origin: string): Promise; checkOrGrantGetAllKeyRingInfosPermission(env: Env, origin: string): Promise; }