import { type SignActionsContext } from '@lifi/perps-sdk'; import type { ActionStep, EvmTxActionStep, EvmTxSignedActionStep, SignedActionStep, WasmBlobActionStep, WasmBlobSignedActionStep } from '@lifi/perps-types'; import { SigningMethod } from '@lifi/perps-types'; import type { Address } from 'viem'; import type { LighterApiClient } from '../utils/apiClient.js'; import type { LighterApiKey, LighterKeyStore } from './LighterKeyStore.js'; import type { LighterSigner } from './LighterSigner.js'; export interface LighterSignActionsDeps { signer: LighterSigner; keyStore: LighterKeyStore; apiClient: LighterApiClient; apiKeyFreshness: LighterApiKeyFreshness; resolveAccountIndex(address: Address): Promise; } export interface LighterApiKeyFreshness { assertStillRegistered(client: LighterApiClient, address: Address, apiKey: LighterApiKey): Promise; } export declare const createLighterApiKeyFreshness: () => LighterApiKeyFreshness; export declare function signWasmBlobActions(deps: LighterSignActionsDeps, address: Address, steps: WasmBlobActionStep[], ctx: SignActionsContext | undefined): Promise; export declare function signEvmTxActions(steps: EvmTxActionStep[], ctx: SignActionsContext | undefined): Promise; export declare function lighterSignActions(deps: LighterSignActionsDeps, method: SigningMethod, steps: ActionStep[], address: Address, ctx?: SignActionsContext): Promise; //# sourceMappingURL=signActions.d.ts.map