mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-19 10:54:06 -06:00
17 lines
486 B
TypeScript
17 lines
486 B
TypeScript
declare module "*.scss" {
|
|
const content: string
|
|
export = content
|
|
}
|
|
|
|
// dom custom event
|
|
interface CustomEventMap {
|
|
prenav: CustomEvent<{}>
|
|
nav: CustomEvent<{ url: FullSlug }>
|
|
themechange: CustomEvent<{ theme: "light" | "dark" }>
|
|
readermodechange: CustomEvent<{ mode: "on" | "off" }>
|
|
}
|
|
|
|
type ContentIndex = Record<FullSlug, ContentDetails>
|
|
declare const fetchData: Promise<ContentIndex>
|
|
declare const semanticCfg: import("./quartz/cfg").GlobalConfiguration["semanticSearch"]
|