bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
25 lines • 817 B
TypeScript
import { type BapMasterBackup, type BapMemberBackup } from "bitcoin-backup";
export interface StoredKey {
id: string;
label: string;
type: "wif" | "mnemonic" | "hdkey" | "encrypted";
value: string;
address?: string;
publicKey?: string;
metadata?: BapMasterBackup | BapMemberBackup | {
ordPk: string;
payPk: string;
identityPk: string;
} | {
wif: string;
};
createdAt: Date;
}
export interface KeyManagerProps {
onKeySelect?: (key: StoredKey) => void;
onKeyExport?: (key: StoredKey) => void;
initialKeys?: StoredKey[];
className?: string;
}
export declare function KeyManager({ onKeySelect, onKeyExport, initialKeys, className, }: KeyManagerProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=KeyManager.d.ts.map