import { client } from "./client"; import type { Note } from "./types"; export function getNoteById(id: string, signal?: AbortSignal): Promise { return client(`/notes/${id}`, { signal }); }