index.d.mts 1.0 KB

12345678910111213141516171819202122232425262728
  1. import * as Components from 'vuetify/components';
  2. import * as Directives from 'vuetify/directives';
  3. declare function generateImports(source: string, options: Options): {
  4. code: string;
  5. source: string;
  6. };
  7. interface Options {
  8. autoImport?: ImportPluginOptions;
  9. styles?: true | 'none' | 'sass' | {
  10. configFile: string;
  11. };
  12. }
  13. interface ObjectImportPluginOptions {
  14. labs?: boolean;
  15. ignore?: (keyof typeof Components | keyof typeof Directives)[];
  16. }
  17. type ImportPluginOptions = boolean | ObjectImportPluginOptions;
  18. declare function resolveVuetifyBase(): string;
  19. declare function isObject(value: any): value is object;
  20. declare function includes(arr: any[], val: any): boolean;
  21. declare function normalizePath(p: string): string;
  22. declare function toKebabCase(str?: string): string;
  23. declare const transformAssetUrls: Record<string, string[]>;
  24. export { type ImportPluginOptions, type ObjectImportPluginOptions, type Options, generateImports, includes, isObject, normalizePath, resolveVuetifyBase, toKebabCase, transformAssetUrls };