-
Notifications
You must be signed in to change notification settings - Fork 0
/
globals.d.ts
41 lines (38 loc) · 1.37 KB
/
globals.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
declare module '@custom-elements-manifest/to-markdown' {
import type { AnalyzePhaseParams } from '@custom-elements-manifest/analyzer';
export type Options = {
private: 'all' | 'details' | 'hidden';
headingOffset: number;
classNameFilter: string;
omitSections: string[];
omitDeclarations: string[];
};
type ModuleDoc = AnalyzePhaseParams['moduleDoc'];
export function customElementsManifestToMarkdown(
manifest: { modules: ModuleDoc[] },
options?: Partial<Options>
): string;
}
declare module '@custom-elements-manifest/analyzer/browser/index.js' {
import type { Plugin } from '@custom-elements-manifest/analyzer';
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const create: (options: { modules: any[]; plugins: Plugin[]; context: { dev: boolean } }) => any;
const ts: typeof import('typescript');
const litPlugin: () => Plugin[];
export { create, ts, litPlugin };
}
declare module 'esbuild-copy-static-files' {
import type { Plugin } from 'esbuild';
export type CopyStaticFilesOptions = {
src: string;
dest: string;
filter: (src: string, dest: string) => boolean;
dereference: boolean;
errorOnExist: boolean;
force: boolean;
preserveTimestamps: boolean;
recursive: boolean;
};
const copyStaticFiles: (options?: Partial<CopyStaticFilesOptions>) => Plugin;
export default copyStaticFiles;
}