import { MongoCredentialRecordType } from '@models';
import { Filter } from 'mongodb';
export declare const getCredentialRecordsForDid: (did: string, query: Filter<{
    [x: string]: any;
    id: string;
    did: string;
    created: Date;
    encryptedRecord: {
        aad?: string | undefined;
        recipients?: {
            header: {
                epk?: {
                    kty?: string | undefined;
                    crv?: string | undefined;
                    x?: string | undefined;
                    y?: string | undefined;
                    n?: string | undefined;
                    d?: string | undefined;
                } | undefined;
                kid?: string | undefined;
                apv?: string | undefined;
                apu?: string | undefined;
                alg: string;
                iv: string;
                tag: string;
            };
            encrypted_key: string;
        }[] | undefined;
        iv: string;
        tag: string;
        protected: string;
        ciphertext: string;
    };
    fields: string[];
    cursor: string;
    modified: Date;
}> | undefined, sort: 'newestFirst' | 'oldestFirst', cursor?: string, limit?: number, includeAssociatedDids?: boolean) => Promise<MongoCredentialRecordType[]>;
export declare const countCredentialRecordsForDid: (did: string, query?: Filter<MongoCredentialRecordType>, includeAssociatedDids?: boolean) => Promise<number>;
//# sourceMappingURL=read.d.ts.map