import { CertificateHistoryResponseEntryInterface } from "@minespider/core-sdk";
export interface CertificateCacheServiceAdapterInterface {
    getCertificate(uuid: string, privateKey: string): Promise<any>;
    getCertificates(ownerUuid: string, privateKey: string): Promise<any>;
    registerClient(clientDTO: ClientDTO): Promise<void>;
    getCertificateHistoryByOwner(entityId: string): Promise<CertificateHistoryResponseEntryInterface[]>;
    getCertificateHistoryByCertificate(certificateUuid: string, parentsDepth?: number, childrenDepth?: number): Promise<CertificateHistoryResponseEntryInterface[]>;
}
export interface ClientDTO {
    uuid: string;
    type: number;
    mnemonic: string;
    publicKey: string;
}
export interface CertificateHistoryResponseInterface {
    meta: object;
    content: CertificateHistoryResponseEntryInterface[];
}
export declare class CertificateCacheServiceAdapter {
    private certificateCacheServiceEndpoint;
    constructor(certificateCacheServiceEndpoint: string);
    getCertificate(uuid: string, privateKey: string): Promise<any>;
    getCertificates(ownerUuid: string, privateKey: string): Promise<any>;
    registerClient(clientDTO: ClientDTO): Promise<void>;
    getCertificateHistoryByOwner(entityId: string): Promise<CertificateHistoryResponseEntryInterface[]>;
    getCertificateHistoryByCertificate(uuid: string, parentsDepth?: number, childrenDepth?: number): Promise<CertificateHistoryResponseEntryInterface[]>;
}
//# sourceMappingURL=CertificateCacheServiceAdapter.d.ts.map