import { ccc } from "@ckb-ccc/core"; //#region src/connectionsStorage/index.d.ts /** * Persisted NIP-07 connection information. * @public */ interface Connection { publicKey: ccc.Hex; } /** * Repository used to restore a NIP-07 connection without contacting the wallet. * @public */ interface ConnectionsRepo { get(): Promise; set(connection: Connection | undefined): Promise; } /** * Local storage based NIP-07 connection repository. * @public */ declare class ConnectionsRepoLocalStorage implements ConnectionsRepo { private readonly storageKey; constructor(storageKey?: string); get(): Promise; set(connection: Connection | undefined): Promise; } //#endregion //#region src/nip07.advanced.d.ts interface Provider { getPublicKey(): Promise; signEvent(event: ccc.NostrEvent): Promise>; } //#endregion export { ConnectionsRepoLocalStorage as i, Connection as n, ConnectionsRepo as r, Provider as t }; //# sourceMappingURL=nip07.advanced-L2G_vONP.d.mts.map