import { SerializedWallet } from '@ocap/wallet'; import { DIDTypeArg } from '@arcblock/did'; import { EncodingType } from '@ocap/util'; export interface RemoteSignResponse { signature: string; publicKey?: string; } export interface RemoteSignJWTResponse { token: string; publicKey?: string; } export interface RemoteSignETHResponse { signature: string; publicKey?: string; } export interface RemoteSignOptions { keyType?: 'sk' | 'psk'; type?: DIDTypeArg; doSign?: boolean; version?: string; encoding?: EncodingType; hashBeforeSign?: boolean; } export declare function remoteSign(payload: unknown, options?: RemoteSignOptions): Promise; export declare function remoteSignJWT(payload: unknown, options?: any): Promise; export declare function remoteSignETH(data: string, options?: RemoteSignOptions): Promise; export declare function remoteDeriveWallet(sub: string, type?: any, index?: number, options?: RemoteSignOptions): Promise;