import { GeneralJWSInput, CryptoKey, KeyObject, JWK, VerifyOptions, GeneralVerifyResult, GenericGetKeyFunction, JWSHeaderParameters, FlattenedJWSInput, ResolvedKey } from '../../types.d.js';

interface GeneralVerifyGetKey extends GenericGetKeyFunction<JWSHeaderParameters, FlattenedJWSInput, CryptoKey | KeyObject | JWK | Uint8Array> {
}
declare function generalVerify(jws: GeneralJWSInput, key: CryptoKey | KeyObject | JWK | Uint8Array, options?: VerifyOptions): Promise<GeneralVerifyResult>;
declare function generalVerify(jws: GeneralJWSInput, getKey: GeneralVerifyGetKey, options?: VerifyOptions): Promise<GeneralVerifyResult & ResolvedKey>;

export { type GeneralVerifyGetKey, generalVerify };
