UNPKG

3.02 kBTypeScriptView Raw
1import { type ExtractPropTypes, type PropType } from 'vue';
2export declare const highlightProps: {
3 autoEscape: {
4 type: BooleanConstructor;
5 default: true;
6 };
7 caseSensitive: BooleanConstructor;
8 highlightClass: StringConstructor;
9 highlightTag: {
10 type: PropType<keyof HTMLElementTagNameMap>;
11 default: keyof HTMLElementTagNameMap;
12 };
13 keywords: {
14 type: PropType<string | string[]>;
15 required: true;
16 };
17 sourceString: {
18 type: PropType<string>;
19 default: string;
20 };
21 tag: {
22 type: PropType<keyof HTMLElementTagNameMap>;
23 default: keyof HTMLElementTagNameMap;
24 };
25 unhighlightClass: StringConstructor;
26 unhighlightTag: {
27 type: PropType<keyof HTMLElementTagNameMap>;
28 default: keyof HTMLElementTagNameMap;
29 };
30};
31export type HighlightProps = ExtractPropTypes<typeof highlightProps>;
32declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
33 autoEscape: {
34 type: BooleanConstructor;
35 default: true;
36 };
37 caseSensitive: BooleanConstructor;
38 highlightClass: StringConstructor;
39 highlightTag: {
40 type: PropType<keyof HTMLElementTagNameMap>;
41 default: keyof HTMLElementTagNameMap;
42 };
43 keywords: {
44 type: PropType<string | string[]>;
45 required: true;
46 };
47 sourceString: {
48 type: PropType<string>;
49 default: string;
50 };
51 tag: {
52 type: PropType<keyof HTMLElementTagNameMap>;
53 default: keyof HTMLElementTagNameMap;
54 };
55 unhighlightClass: StringConstructor;
56 unhighlightTag: {
57 type: PropType<keyof HTMLElementTagNameMap>;
58 default: keyof HTMLElementTagNameMap;
59 };
60}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
61 autoEscape: {
62 type: BooleanConstructor;
63 default: true;
64 };
65 caseSensitive: BooleanConstructor;
66 highlightClass: StringConstructor;
67 highlightTag: {
68 type: PropType<keyof HTMLElementTagNameMap>;
69 default: keyof HTMLElementTagNameMap;
70 };
71 keywords: {
72 type: PropType<string | string[]>;
73 required: true;
74 };
75 sourceString: {
76 type: PropType<string>;
77 default: string;
78 };
79 tag: {
80 type: PropType<keyof HTMLElementTagNameMap>;
81 default: keyof HTMLElementTagNameMap;
82 };
83 unhighlightClass: StringConstructor;
84 unhighlightTag: {
85 type: PropType<keyof HTMLElementTagNameMap>;
86 default: keyof HTMLElementTagNameMap;
87 };
88}>> & Readonly<{}>, {
89 tag: keyof HTMLElementTagNameMap;
90 autoEscape: boolean;
91 caseSensitive: boolean;
92 highlightTag: keyof HTMLElementTagNameMap;
93 sourceString: string;
94 unhighlightTag: keyof HTMLElementTagNameMap;
95}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
96export default _default;