import { createRecord, deleteRecord, exportRecords, getRecord, listRecords, updateRecord } from "./record.js";
import { listChoices, listOptions } from "../core/options.js";
import { chart, metric } from "./chart.js";
import "@tanstack/react-start/server-only";

//#region src/datasource/datasource.d.ts
declare const ds: {
  list: typeof listRecords;
  export: typeof exportRecords;
  get: typeof getRecord;
  create: typeof createRecord;
  update: typeof updateRecord;
  delete: typeof deleteRecord;
  metric: typeof metric;
  chart: typeof chart;
  options: typeof listOptions;
  choices: typeof listChoices;
};
//#endregion
export { ds };