import { PaginatedEncryptedCredentialRecordsType, PaginationOptionsType } from '@learncard/types';
export declare const INDEX_TTL: number;
export declare const getIndexPageCacheKey: (did: string, query: Record<string, any>, paginationOptions: PaginationOptionsType, includeAssociatedDids?: boolean) => string;
export declare const getCachedIndexPageForDid: (did: string, query: Record<string, any>, paginationOptions: PaginationOptionsType, includeAssociatedDids?: boolean) => Promise<PaginatedEncryptedCredentialRecordsType | null | undefined>;
export declare const setCachedIndexPageForDid: (did: string, query: Record<string, any>, paginationOptions: PaginationOptionsType, page: PaginatedEncryptedCredentialRecordsType, includeAssociatedDids?: boolean) => Promise<"OK" | undefined>;
export declare const deleteCachedIndexPageForDid: (did: string, query: Record<string, any>, paginationOptions: PaginationOptionsType, includeAssociatedDids?: boolean) => Promise<number | undefined>;
export declare const flushIndexCacheForDid: (did: string, includeAssociatedDids?: boolean) => Promise<number | undefined>;
