import type { BrowserPrivatePackageKeyProvider } from "./private-artifact.js"; export interface GeneratedBrowserRecipientKey { privateKey: CryptoKey; publicKey: string; fingerprint: string; } export interface BrowserPrivatePackageKeyStore { put(registry: string, recipientKeyId: string, privateKey: CryptoKey): Promise; get(registry: string, recipientKeyId: string): Promise; remove(registry: string, recipientKeyId: string): Promise; provider(): BrowserPrivatePackageKeyProvider; close(): void; } export interface BrowserRecipientKeyRegistration { id: string; fingerprint: string; } export type RegisterBrowserRecipientKey = (publicKey: string) => Promise; export type RevokeBrowserRecipientKey = (recipientKeyId: string) => Promise; export declare function generateBrowserRecipientKey(): Promise; export declare function createBrowserPrivatePackageKeyStore(databaseName?: string): Promise; export declare function createAndRegisterBrowserRecipientKey(store: BrowserPrivatePackageKeyStore, registry: string, register: RegisterBrowserRecipientKey, revoke: RevokeBrowserRecipientKey): Promise; export declare function revokeAndRemoveBrowserRecipientKey(store: BrowserPrivatePackageKeyStore, registry: string, recipientKeyId: string, revoke: RevokeBrowserRecipientKey): Promise; //# sourceMappingURL=browser-private-keys.d.ts.map