import type { Client } from "@versia/client"; import type { Status } from "@versia/client/types"; import { type TimelineOptions, useTimeline } from "./Timeline"; export function useLocalTimeline( client: Client, options: Partial> = {}, ) { return useTimeline(client, { fetchFunction: (client, opts) => client.getLocalTimeline(opts), ...options, }); }