bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
41 lines • 1.17 kB
TypeScript
export declare enum FileSyncStatus {
Pending = "pending",
Checking = "checking",
OnChain = "on-chain",
NeedsSync = "needs-sync",
Syncing = "syncing",
Synced = "synced",
Failed = "failed"
}
export interface SyncFile {
id: string;
file: File;
hash?: string;
status: FileSyncStatus;
size: number;
txid?: string;
error?: string;
progress?: number;
estimatedFee?: number;
}
export interface SyncSummary {
totalFiles: number;
needsSyncCount: number;
totalSize: number;
estimatedTotalFee: number;
}
export interface SyncAssetsComponentProps {
onSyncComplete?: (results: {
success: SyncFile[];
failed: SyncFile[];
}) => void;
onError?: (error: string) => void;
maxFileSize?: number;
maxFiles?: number;
acceptedTypes?: string[];
estimatedFeePerKB?: number;
className?: string;
}
export declare function SyncAssetsComponent({ onSyncComplete, onError, maxFileSize, // 10MB
maxFiles, acceptedTypes, estimatedFeePerKB, className, }: SyncAssetsComponentProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=SyncAssetsComponent.d.ts.map