import type KeyDictCache from './keydict/cache/cache';
import { type KeyProviderInterface } from './keydict/provider';
export interface ParsedMessage {
    keyId: number;
    signature: Buffer;
    body: Buffer;
}
export interface VerifierOptions {
    keyProvider?: KeyProviderInterface;
    keyCache?: KeyDictCache;
}
export declare function parseQueryString(raw: string): object;
export declare function parseMessage(data: Record<string, any>): ParsedMessage;
export default class Verifier {
    private keyProvider;
    constructor(options?: VerifierOptions);
    verify(data: ParsedMessage | object | string): Promise<boolean>;
}
