// Typed facade for the generated .source/index.ts
// Keep this file portable and avoid referencing internal fumadocs types.

// Minimal surface used by the app (extend if you need more methods)
export type DocsApi = {
  toFumadocsSource(): unknown;
};

// Defer loading the generated module to runtime and avoid importing its types
export const docs: DocsApi = {
  // eslint-disable-next-line @typescript-eslint/no-var-requires
  toFumadocsSource: () => require('./.source/index').docs.toFumadocsSource(),
};
