export type PushKind = 'update' | 'urgent' | 'final'; export interface PushOpts { kind: PushKind; body: string; from?: string; } export interface PushResult { reportPath: string; deliveredTo: string[]; } export declare class FinalizationError extends Error { readonly code: 'already_finalized' | 'finalization_forbidden' | 'unknown_node'; readonly reportPath?: string | undefined; constructor(code: 'already_finalized' | 'finalization_forbidden' | 'unknown_node', reportPath?: string | undefined); } export declare class FinalDeliveryError extends Error { readonly reportPath: string; readonly deliveredTo: string[]; readonly failedTo: string[]; constructor(reportPath: string, deliveredTo: string[], failedTo: string[]); } export declare function push(nodeId: string, opts: PushOpts): Promise; export declare function pushUpdate(nodeId: string, body: string, opts?: { from?: string; }): Promise; export declare function pushUrgent(nodeId: string, body: string, opts?: { from?: string; }): Promise; export declare function pushFinal(nodeId: string, body: string, opts?: { from?: string; }): Promise;