import { EIP712TypedData, MessageData } from 'eth-sig-util';
import type { AuthService } from './types';
/**
 * AuthService for Developer Apps wishing to write on a user's behalf
 */
export declare class AppAuth implements AuthService {
    private readonly apiKey;
    private readonly apiSecret;
    constructor(apiKey: string, apiSecret: string);
    getSharedSecret: (publicKey: string | Uint8Array) => Promise<Uint8Array>;
    sign: (data: string | Uint8Array) => Promise<[Uint8Array, number]>;
    hashAndSign: (data: string) => Promise<string>;
    signTransaction: (data: MessageData<EIP712TypedData>['data']) => Promise<string>;
    getAddress: () => Promise<string>;
}
