import { type Event } from 'nostr-tools'; import { type PublishedSpendingProposal, type PublishedProofOfReserveProposal, type SharedKeyAuthenticator, type PublishedOwnedSigner, type PublishedApprovedProposal } from '../types'; import { type Store, type NostrClient } from '../service'; import { EventKindHandler } from './EventKindHandler'; import { type BitcoinUtil } from '../models'; import { type Authenticator } from '@smontero/nostr-ual'; export declare class ProposalHandler extends EventKindHandler { private readonly store; private readonly eventsStore; private readonly approvalsStore; private readonly nostrClient; private readonly bitcoinUtil; private readonly authenticator; private readonly getSharedKeysById; private readonly checkPsbts; private readonly getOwnedSigners; private readonly getApprovalsByProposalId; constructor(store: Store, eventsStore: Store, approvalsStore: Store, nostrClient: NostrClient, bitcoinUtil: BitcoinUtil, authenticator: Authenticator, getSharedKeysById: (ids: string[]) => Promise>, checkPsbts: (proposalId: string) => Promise, getOwnedSigners: () => Promise, getApprovalsByProposalId: (proposal_ids?: string[] | string) => Promise>); private searchSignerInDescriptor; protected _handle(proposalEvents: Array>): Promise>; private getProposalRelatedEvents; protected _delete(proposalIds: string[]): Promise; }