import type { ActionProposal, ClaimActionProposal } from './action-proposal-store.js'; /** Privileged worker-only discovery; never expose this unscoped capability on public routes. */ export interface ActionProposalWorkerStore { /** Claim one queued or expired-lease action across scopes; null means no claim was won. */ claimNextActionProposal(command: ClaimActionProposal): Promise; /** Expire at most limit (1..1000) due pending proposals using the store's trusted clock. */ expireActionProposals(command: { limit: number; }): Promise; } /** SQL upgrade capability. Run bounded batches after additive DDL and before starting workers. */ export interface ActionProposalDiscoveryIndexStore { backfillActionProposalDiscoveryIndex(command: { limit: number; }): Promise; } //# sourceMappingURL=action-proposal-worker-store.d.ts.map