import { IPublicKey } from '../models/publicKey';
/**
 * Tools to mock JWT
 */
export declare class JwtMock {
    /**
     * Return a public key from the mock db
     */
    getPublicKey(keyId: number): IPublicKey;
    /**
     * Return the public keys from the mock db
     */
    getPublicKeys(): IPublicKey[];
    /**
     * Return the private keys from the mock db
     */
    getPrivateKey(): string;
    /**
     * Flush the public keys in cache and add the mocked public keys
     */
    mockPublicKeys(options?: any): Promise<void>;
    /**
     * Generate a fake JWT signed with the mocked keys
     */
    generateJwt(jwtProperties?: {}): string;
    /**
     * Deletes all mocks and also clears the cache
     */
    cleanAll(): void;
}
export declare const jwtMock: JwtMock;
//# sourceMappingURL=jwtMock.d.ts.map