2023-07-22 17:27:41 -07:00
|
|
|
declare module "*.scss" {
|
2023-06-16 19:41:59 -07:00
|
|
|
const content: string
|
2023-06-01 17:35:31 -04:00
|
|
|
export = content
|
|
|
|
}
|
2023-06-16 19:41:59 -07:00
|
|
|
|
|
|
|
// dom custom event
|
|
|
|
interface CustomEventMap {
|
2025-03-09 14:58:26 -07:00
|
|
|
prenav: CustomEvent<{}>
|
2023-08-19 15:52:25 -07:00
|
|
|
nav: CustomEvent<{ url: FullSlug }>
|
2024-01-23 22:52:41 +00:00
|
|
|
themechange: CustomEvent<{ theme: "light" | "dark" }>
|
2025-04-17 19:45:17 -07:00
|
|
|
readermodechange: CustomEvent<{ mode: "on" | "off" }>
|
2023-06-16 19:41:59 -07:00
|
|
|
}
|
|
|
|
|
2025-03-09 15:33:15 -07:00
|
|
|
type ContentIndex = Record<FullSlug, ContentDetails>
|
2023-06-18 10:47:07 -07:00
|
|
|
declare const fetchData: Promise<ContentIndex>
|