import type { Proposal, ProposalStatus } from "../parser/proposals.js"; export interface ProposalFilter { /** Filter by lifecycle status (`phase-3`, `finished`, `inactive`, …). */ status?: ProposalStatus; /** Filter by numeric phase 0–5. */ phase?: number; /** Champion substring, case-insensitive. */ champion?: string; /** Affected-spec filter (`core`, `js-api`, `web-api`) — finished only. */ affects?: string; /** Name / champion substring, case-insensitive. */ contains?: string; } /** Filter + sort the proposal list. Sorted by phase desc, then name. */ export declare function listProposals(proposals: Proposal[], filter?: ProposalFilter): Proposal[];