-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.d.ts
111 lines (97 loc) · 2.63 KB
/
global.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/* eslint-disable import/no-default-export */
interface PacoupaMDXImage {
readonly alt: string;
readonly mobile?: {
readonly size?: "large" | "medium" | "small";
};
readonly src: string;
}
declare type PacoupaMDXLandingMetadata = PacoupaHeroMDXMetadata &
(
| {
cards: Array<{
readonly image: PacoupaMDXImage;
readonly title?: string;
}>;
type: "alternated";
}
| {
image: PacoupaMDXImage & {
/** @default "left" */
position?: "left" | "right";
};
type: "single-image";
}
| {
type: "text-only";
}
);
declare type PacoupaMDXLandingHighlightMetadata =
| {
readonly size?: "large" | "small";
}
| undefined;
declare type PacoupaHeroMDXMetadata =
| {
readonly cta?: {
readonly href?: string;
readonly source: string;
readonly title?: string;
};
}
| undefined;
declare type PacoupaFAQMDXMetadata = PacoupaHeroMDXMetadata & {
readonly question: string;
};
declare type MDXContent = typeof import("*.mdx").default;
declare type SolutionMDXMetadata = {
description: string;
label: string;
scoreEcologique: string;
titre: string;
type: "collectif" | "individuel";
usageChauffage: "non" | "oui" | "possible";
usageECS: "non" | "oui" | "possible";
};
declare type LandingPageMDXMetadata = {
titre: string;
};
declare module "content/solutions/*.mdx" {
const MDXContent: MDXContent;
export default MDXContent;
export const frontmatter: SolutionMDXMetadata;
}
declare module "@__content/landing-pages/chauffage-energie-renouvelable-copropriete/index.mdx" {
const MDXContent: MDXContent;
export default MDXContent;
export const frontmatter: LandingPageMDXMetadata;
}
declare module "@__content/landing-pages/ges-batiment-france/index.mdx" {
const MDXContent: MDXContent;
export default MDXContent;
export const frontmatter: LandingPageMDXMetadata;
}
declare module "@__content/landing-pages/renovation-energetique-copropriete/index.mdx" {
const MDXContent: MDXContent;
export default MDXContent;
export const frontmatter: LandingPageMDXMetadata;
}
declare module "@__content/faq/index.mdx" {
const MDXContent: MDXContent;
export default MDXContent;
export const frontmatter: LandingPageMDXMetadata;
}
declare module "@__content/methodologie/index.mdx" {
const MDXContent: MDXContent;
export default MDXContent;
export const frontmatter: LandingPageMDXMetadata;
}
declare module "@codegouvfr/react-dsfr/*.svg" {
export interface SVG {
height: number;
src: string;
width: number;
}
const content: SVG;
export = content;
}