import Router from './Router.js'; import { SecurequServerConfig, UploadFileMeta, HandlerInfo, Metadata } from './types.js'; declare class SecurequServerBase extends Router { protected config: SecurequServerConfig; protected secret: string | null; protected clients: Map; protected uploadMeta: Map; readonly CONTENT_TYPE = "application/octet-stream"; get RESPONSE_CONTENT_TYPE(): "application/json" | "application/octet-stream"; constructor(config: SecurequServerConfig); protected getSecret(): Promise; protected clientInfo(path: string, origin: string): Promise<{ path: string; secret: string; hash: string; searchParams: { [key: string]: any; }; }>; protected isValidSigneture(signeture: string | undefined, hash: string): Promise; handleRequest(info: HandlerInfo, metadata?: Metadata): Promise; } export { SecurequServerBase as default };