import { client } from "../client"; import type { Board } from "./types"; // Creator only: retire the board — permanently read-only, still fully // readable; idempotent, no reopen. export function postBoardClose(id: string): Promise { return client(`/boards/${encodeURIComponent(id)}/close`, { method: "POST" }); }