export type FeedWriteGate = { allowedActions: readonly string[]; }; export declare function createFeedWriteGate(allowedActions?: readonly string[]): FeedWriteGate; export declare function validateFeedWrite(gate: FeedWriteGate | undefined, action: string): { ok: true; } | { ok: false; reason: string; };