import { type SecretsBundle } from './bundles.js'; import type { SyncBackend, RemoteBundleSummary, EncryptedEnvelope } from './sync-backend.js'; export type { EncryptedEnvelope, RemoteBundleSummary } from './sync-backend.js'; export declare const MIN_PASSPHRASE_LEN = 12; export declare function setSyncBackend(next: SyncBackend): SyncBackend; export declare function encryptBlob(plaintext: string, passphrase: string): EncryptedEnvelope; export declare function decryptBlob(envelope: EncryptedEnvelope, passphrase: string): string; export interface BundleSnapshot { bundle: SecretsBundle; secrets: Record; } export interface PushOptions { passphrase: string; } export declare function pushBundle(name: string, opts: PushOptions): Promise<{ updated_at: string; }>; export interface PullOptions { passphrase: string; force?: boolean; } export declare function pullBundle(name: string, opts: PullOptions): Promise; export declare function deleteRemoteBundle(name: string): Promise; export declare function listRemoteBundles(): Promise;