import { a as __exportAll, r as ConnectionsRepo, t as Provider } from "./nip07.advanced-Baf4DAZg.js"; import { ccc } from "@ckb-ccc/core"; //#region src/signer.d.ts /** * Error thrown when the wallet signs with a different account than the restored * NIP-07 connection. * @public */ declare class NostrAccountChangedError extends Error { constructor(); } /** * @public */ declare class Signer extends ccc.SignerNostr { readonly provider: Provider; private readonly connectionsRepo; private connection?; constructor(client: ccc.Client, provider: Provider, connectionsRepo?: ConnectionsRepo); private assertConnection; private saveConnection; private restoreConnection; getNostrPublicKey(): Promise; signNostrEvent(event: ccc.NostrEvent): Promise>; connect(): Promise; disconnect(): Promise; isConnected(): Promise; } //#endregion //#region src/signersFactory.d.ts /** * @public */ declare function getNip07Signer(client: ccc.Client): Signer | undefined; declare namespace barrel_d_exports { export { NostrAccountChangedError, Signer, getNip07Signer }; } //#endregion export { NostrAccountChangedError, Signer, getNip07Signer, barrel_d_exports as t }; //# sourceMappingURL=barrel.d.ts.map