bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
20 lines • 878 B
TypeScript
import type { BapKeyRotationEvent, KeyRotationOptions, KeyRotationResult, UseBapKeyRotationOptions } from "../types/identity.js";
export declare function useBapKeyRotation(options?: UseBapKeyRotationOptions): {
rotateKey: import("@tanstack/react-query").UseMutateFunction<KeyRotationResult, Error, KeyRotationOptions, unknown>;
rotateKeyAsync: import("@tanstack/react-query").UseMutateAsyncFunction<KeyRotationResult, Error, KeyRotationOptions, unknown>;
isLoading: boolean;
isError: boolean;
isSuccess: boolean;
error: Error | null;
data: KeyRotationResult | undefined;
rotationHistory: BapKeyRotationEvent[];
currentKeyInfo: {
path: string;
address: string;
idKey: string;
};
canRotateKeys: boolean;
masterKeyError: string | null;
reset: () => void;
};
//# sourceMappingURL=useBapKeyRotation.d.ts.map