import { HttpMethod } from '@dripjs/types'; /** * Sign a message. hex( HMAC_SHA256(secret, verb + url + nonce + data) ) * * @param {String} secret API secret. * @param {String} verb Request verb (GET, POST, etc). * @param {String} url Request URL. * @param {Number} nonce Nonce for this request. * @param {String|Object} [data] Request body, if it exists. * @return {String} Signature. */ export declare function signMessage(secret: string, verb: string, url: string, nonce: number, data?: any): string; export declare function getWSAuthQuery(apiKey: string, apiSecret: string): string; export declare function getRestAuthHeaders(method: HttpMethod, baseUrl: string, endpoint: string, apiKey: string, apiSecret: string, data?: any): AuthHeaders; export interface AuthHeaders { Origin: string; 'Content-Type': string; accept: string; 'api-expires': string; 'api-key': string; 'api-signature': string; }