import { SecurequClientConfig, HttpRequestInit, SecurequClientResponse } from './types.js'; declare class Base { protected config: SecurequClientConfig; private handshakeInfo; private secret_length; private loadingHandshake; private handshakeErrorCount; readonly CONTENT_TYPE = "application/octet-stream"; constructor(config: SecurequClientConfig); protected hooksCall(hook: keyof NonNullable, ...args: any[]): any; protected getSecret(): Promise<{ full: string; secret: string; hash: string; }>; protected url(path: string): Promise; protected getHeaders(path: string, init?: HttpRequestInit): Promise; handshake(): Promise; refreshHandshake(): Promise; fetch(path: string, init?: HttpRequestInit): Promise; } export { Base as default };