import { CryptoKey, KeyObject, JWK, VerifyOptions, CompactVerifyResult, GenericGetKeyFunction, CompactJWSHeaderParameters, FlattenedJWSInput, ResolvedKey } from '../../types.d.cjs';

interface CompactVerifyGetKey extends GenericGetKeyFunction<CompactJWSHeaderParameters, FlattenedJWSInput, CryptoKey | KeyObject | JWK | Uint8Array> {
}
declare function compactVerify(jws: string | Uint8Array, key: CryptoKey | KeyObject | JWK | Uint8Array, options?: VerifyOptions): Promise<CompactVerifyResult>;
declare function compactVerify(jws: string | Uint8Array, getKey: CompactVerifyGetKey, options?: VerifyOptions): Promise<CompactVerifyResult & ResolvedKey>;

export { type CompactVerifyGetKey, compactVerify };
