index.d.ts 1.1 KB

1234567891011121314151617181920212223242526272829
  1. /**
  2. * The Tauri API allows you to interface with the backend layer.
  3. *
  4. * This module exposes all other modules as an object where the key is the module name, and the value is the module exports.
  5. * @example
  6. * ```typescript
  7. * import { app, dialog, event, fs, globalShortcut } from '@tauri-apps/api'
  8. * ```
  9. * @module
  10. */
  11. import * as app from './app';
  12. import * as cli from './cli';
  13. import * as clipboard from './clipboard';
  14. import * as dialog from './dialog';
  15. import * as event from './event';
  16. import * as fs from './fs';
  17. import * as globalShortcut from './globalShortcut';
  18. import * as http from './http';
  19. import * as notification from './notification';
  20. import * as path from './path';
  21. import * as process from './process';
  22. import * as shell from './shell';
  23. import * as tauri from './tauri';
  24. import * as updater from './updater';
  25. import * as window from './window';
  26. import * as os from './os';
  27. /** @ignore */
  28. declare const invoke: typeof tauri.invoke;
  29. export { invoke, app, cli, clipboard, dialog, event, fs, globalShortcut, http, notification, path, process, shell, tauri, updater, window, os };