import { KeyObject } from 'crypto'; import { ISigningStrategy } from './signing-strategy-interface.js'; export declare class IntegrityBlockSigner { private readonly integrityBlock; private readonly webBundle; private readonly signingStrategies; /** * @deprecated External access to `IntegrityBlockSigner` will be removed in * a future version, use `SignedWebBundle.from*` instead. * * First argument can be only a pure web bundle (without integrity block). */ constructor(webBundle: Uint8Array, webBundleId: string, signingStrategies: Array); /** @deprecated This class will become only internal in a future release, use `SignedWebBundle` instead*/ sign(): Promise<{ integrityBlock: Uint8Array; signedWebBundle: Uint8Array; }>; /** @deprecated This class will become only internal in a future release, use `SignedWebBundle` instead*/ readWebBundleLength(): number; /** @deprecated This method will not be supported in a future release. */ calcWebBundleHash(): Uint8Array; /** @deprecated Moved to utils */ verifySignature(data: Uint8Array, signature: Uint8Array, publicKey: KeyObject): void; }