import { IStorageProvider, RevocationList, CredentialSchema } from '../types';
import { VerifiableCredential } from '../../types';
import { DIDDocument } from '../../types/did';
export declare class FileStorageProvider implements IStorageProvider {
    private encryption;
    private passphrase?;
    private filePath;
    private encryptionKey?;
    private data;
    private initialized;
    private initPromise;
    constructor(filePath: string, encryption?: boolean, passphrase?: string | undefined);
    private initialize;
    private doInitialize;
    private ensureDirectoryExists;
    private encrypt;
    private decrypt;
    private save;
    private load;
    storeDID(did: string, document: DIDDocument): Promise<void>;
    resolveDID(did: string): Promise<DIDDocument | null>;
    listDIDs(owner?: string): Promise<string[]>;
    storeCredential(credential: VerifiableCredential): Promise<void>;
    getCredential(id: string): Promise<VerifiableCredential | null>;
    listCredentials(holder: string): Promise<VerifiableCredential[]>;
    deleteCredential(id: string): Promise<void>;
    publishRevocation(issuerDID: string, revocationList: RevocationList): Promise<void>;
    checkRevocation(issuerDID: string, credentialId: string): Promise<boolean>;
    getRevocationList(issuerDID: string): Promise<RevocationList | null>;
    storeKeyPair(identifier: string, encryptedKeyPair: string): Promise<void>;
    retrieveKeyPair(identifier: string): Promise<string | null>;
    deleteKeyPair(identifier: string): Promise<void>;
    registerSchema(schema: CredentialSchema): Promise<string>;
    getSchema(schemaId: string): Promise<CredentialSchema | null>;
    listSchemas(issuerDID?: string): Promise<CredentialSchema[]>;
    clear(): Promise<void>;
    storePhoneNumber(userDID: string, phoneNumber: import('../../types').PhoneNumber): Promise<string>;
    getPhoneNumber(userDID: string, phoneId: string): Promise<import('../../types').PhoneNumber | null>;
    listPhoneNumbers(userDID: string): Promise<import('../../types').PhoneNumber[]>;
    updatePhoneNumber(userDID: string, phoneId: string, phoneNumber: Partial<import('../../types').PhoneNumber>): Promise<void>;
    deletePhoneNumber(userDID: string, phoneId: string): Promise<void>;
    storeAddress(userDID: string, address: import('../../types').Address): Promise<string>;
    getAddress(userDID: string, addressId: string): Promise<import('../../types').Address | null>;
    listAddresses(userDID: string): Promise<import('../../types').Address[]>;
    updateAddress(userDID: string, addressId: string, address: Partial<import('../../types').Address>): Promise<void>;
    deleteAddress(userDID: string, addressId: string): Promise<void>;
    storeEmailAddress(userDID: string, emailAddress: import('../../types').EmailAddress): Promise<string>;
    getEmailAddress(userDID: string, emailId: string): Promise<import('../../types').EmailAddress | null>;
    listEmailAddresses(userDID: string): Promise<import('../../types').EmailAddress[]>;
    updateEmailAddress(userDID: string, emailId: string, emailAddress: Partial<import('../../types').EmailAddress>): Promise<void>;
    deleteEmailAddress(userDID: string, emailId: string): Promise<void>;
}
//# sourceMappingURL=file-storage-provider-lazy.d.ts.map