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