import { ActionType } from '@lifi/perps-types'; export interface LighterSignerContext { apiKeyPrivateKey: string; apiKeyIndex: number; accountIndex: number; } export interface LighterSignerConfig { apiUrl: string; signerChainId: number; collateralAssetIndex: number; } export interface LighterSignedBlob { txType: number; txInfo: string; txHash: string; } export interface ChangePubKeyResult extends LighterSignedBlob { messageToSign: string; } export interface ApproveIntegratorResult extends LighterSignedBlob { messageToSign: string; } export interface TransferResult extends LighterSignedBlob { messageToSign: string; } export interface ApiKeyPair { publicKey: string; privateKey: string; } export declare class LighterSigner { private readonly apiUrl; private readonly chainId; private readonly collateralAssetIndex; private wasm; private readonly registeredClients; constructor(config: LighterSignerConfig); initialize(): Promise; generateAPIKey(): Promise; sign(action: ActionType, wasmSignParams: Record, context: LighterSignerContext): Promise; signChangePubKey(pubKeyHex: string, privateKey: string, nonce: number, apiKeyIndex: number, accountIndex: number, skipNonce?: 0 | 1): Promise; signApproveIntegrator(wasmSignParams: Record, context: LighterSignerContext): Promise; signTransfer(wasmSignParams: Record, context: LighterSignerContext): Promise; embedL1Signature(txInfo: string, l1Signature: string): string; createAuthToken(deadline: number, context: LighterSignerContext): Promise; private ensureLoaded; private ensureClient; private dispatch; } //# sourceMappingURL=LighterSigner.d.ts.map