import { Association, AssociationCreateOrUpdateRequest, AssociationResponse, Client, Compatibility, LifecyclePolicy, SchemaInfo, SchemaMetadata, ServerConfig } from './schemaregistry-client'; import { ClientConfig } from "./rest-service"; declare class MockClient implements Client { private clientConfig?; private infoToSchemaCache; private idToSchemaCache; private guidToSchemaCache; private schemaToVersionCache; private configCache; private associationCache; private counter; constructor(config?: ClientConfig); config(): ClientConfig; register(subject: string, schema: SchemaInfo, normalize?: boolean): Promise; registerFullResponse(subject: string, schema: SchemaInfo, normalize?: boolean): Promise; private getIDFromRegistry; private generateVersion; getBySubjectAndId(subject: string, id: number, format?: string): Promise; getByGuid(guid: string, format?: string): Promise; getId(subject: string, schema: SchemaInfo): Promise; getIdFullResponse(subject: string, schema: SchemaInfo): Promise; getLatestSchemaMetadata(subject: string, format?: string): Promise; getSchemaMetadata(subject: string, version: number, deleted?: boolean, format?: string): Promise; getLatestWithMetadata(subject: string, metadata: { [key: string]: string; }, deleted?: boolean, format?: string): Promise; private isSubset; getAllVersions(subject: string): Promise; private allVersions; private latestVersion; private deleteVersion; private deleteInfo; private deleteMetadata; getVersion(subject: string, schema: SchemaInfo, normalize?: boolean, deleted?: boolean): Promise; getAllSubjects(): Promise; deleteSubject(subject: string, permanent?: boolean): Promise; deleteSubjectVersion(subject: string, version: number, permanent?: boolean): Promise; testSubjectCompatibility(subject: string, schema: SchemaInfo): Promise; testCompatibility(subject: string, version: number, schema: SchemaInfo): Promise; getCompatibility(subject: string): Promise; updateCompatibility(subject: string, compatibility: Compatibility): Promise; getDefaultCompatibility(): Promise; updateDefaultCompatibility(compatibility: Compatibility): Promise; getConfig(subject: string): Promise; updateConfig(subject: string, config: ServerConfig): Promise; getDefaultConfig(): Promise; updateDefaultConfig(config: ServerConfig): Promise; getAssociationsByResourceName(resourceName: string, resourceNamespace: string, resourceType: string | null, associationTypes: string[], lifecycle: LifecyclePolicy | null, offset: number, limit: number): Promise; createAssociation(request: AssociationCreateOrUpdateRequest): Promise; deleteAssociations(resourceId: string, resourceType: string | null, associationTypes: string[] | null, cascadeLifecycle: boolean): Promise; clearLatestCaches(): void; clearCaches(): void; close(): Promise; private schemasEqual; } export { MockClient };