import React from 'react'; import type { AgentProposalComment } from '@pantheon-systems/css-client'; import { type ProposalActions } from '../proposals.js'; export interface ProposalCardProps { comment: AgentProposalComment; actions?: ProposalActions; /** The moment to measure the decision's age from. */ now: number; } /** * An agent's proposed edit and what became of it. * * Names the block and field the change lands in, gives the agent's reason, and shows * the text before and after. While the proposal waits, the reader can put it into the * page, set it aside, or open a note to send the agent to try again with. One being * applied keeps its buttons, since the service refuses a second accept while the first * is at work and lets one through once that accept has evidently given up. Once decided, * the card collapses to a line saying who decided and how, so the thread keeps the * record after the buttons are gone. */ export declare function ProposalCard({ comment, actions, now }: ProposalCardProps): React.ReactElement;