bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
31 lines • 879 B
TypeScript
export interface MasterKeyMigrationProps {
onMigrationComplete?: () => void;
onError?: (error: Error) => void;
variant?: "surface" | "ghost" | "classic";
size?: "1" | "2" | "3";
className?: string;
showDialog?: boolean;
autoStart?: boolean;
}
export type MasterKeyMigrationStep = "detect" | "backup" | "migrate" | "verify" | "complete";
export interface MasterKeyStatus {
hasMasterKey: boolean;
isType42: boolean;
isLegacy: boolean;
canMigrate: boolean;
}
export interface MigrationResult {
success: boolean;
message?: string;
error?: Error;
upgradedBackup?: string;
originalFormat?: string;
newFormat?: string;
}
export interface MigrationState {
status: "idle" | "migrating" | "complete" | "error";
progress: number;
message?: string;
error?: string;
}
//# sourceMappingURL=master-key.d.ts.map