/** * Credentials required for HMAC signature generation */ export type Credentials = { key: string; secret: string; passphrase: string; }; /** * Header payload containing signature and metadata for authenticated requests */ export type HeaderPayload = { timestamp: number; signature: string; key: string; passphrase: string; }; /** * HTTP methods supported for signing */ export type Method = "GET" | "POST" | "DELETE"; /** * Signer class for creating HMAC-SHA256 signatures for API authentication */ export declare class Signer { readonly credentials: Credentials; constructor(credentials: Credentials); /** * Creates a header payload with HMAC signature for API authentication * @param options - Options for creating the header payload * @returns Header payload containing signature and authentication details */ createHeaderPayload({ method, path, body, timestamp }: { method: Method; path: string; body: string | undefined; timestamp: number | undefined; }): HeaderPayload; } //# sourceMappingURL=signer.d.ts.map