import { ShareA } from '../types';
interface SecureStorageOptions {
    password?: string;
}
/**
 * シェアの安全な保存・読み込みを行うクラス
 *
 * @example
 * ```typescript
 * // ファイルベースのストレージ
 * const storage = new SecureStorage('./share.key', {
 *   password: 'strong-password'
 * });
 *
 * // 環境変数からの読み込み
 * const storage = SecureStorage.fromEnvironment();
 * ```
 */
export declare class SecureStorage {
    private storagePath?;
    private options;
    private shareData?;
    constructor(storagePath?: string, options?: SecureStorageOptions);
    static fromEnvironment(): SecureStorage;
    saveShare(share: ShareA): Promise<void>;
    loadShare(): Promise<ShareA>;
}
export {};
//# sourceMappingURL=secure-storage.d.ts.map