import "./register"; import h from "./h"; import { create } from "./context"; export { Ginny } from "./types"; import type { ContentFunction, ContentResult, FileResult, MultiFileResult } from "./transformers/support/content"; import type { Content as ContentJSX } from "./transformers/jsx"; import type { Content as ContentGJS } from "./transformers/gjs"; export declare const createContext: typeof create; export type { ContentContext } from "./transformers/support/ContentContext"; /** The exported default function signature for .jsx and .tsx files. */ export type ContentFunctionJSX = ContentFunction; /** The result type of the ContentFunctionJSX signature for .jsx and .tsx files. */ export type ContentResultJSX = ContentResult; /** The single file result type of the ContentFunctionJSX signature for .jsx and .tsx files. */ export type FileResultJSX = FileResult; /** The multi file result type of the ContentFunctionJSX signature for .jsx and .tsx files. */ export type MultiFileResultJSX = MultiFileResult; /** The exported default function signature for .g.js and .g.ts files. */ export type ContentFunctionGJS = ContentFunction; /** The result type of the ContentFunctionGJS signature for .g.js and .g.ts files. */ export type ContentResultGJS = ContentResult; /** The single file result type of the ContentFunctionGJS signature for .g.js and .g.ts files. */ export type FileResultGJS = FileResult; /** The multi file result type of the ContentFunctionGJS signature for .g.js and .g.ts files. */ export type MultiFileResultGJS = MultiFileResult; /** * Run the ginny site generator. */ export declare function ginny(options?: Options): Promise; declare global { const Ginny: { h: typeof h; }; } /** * Ginny site generator options. */ export interface Options { /** * Files that are part of the site. Defaults to all files in the directory where the main * file lives. */ files?: string[]; /** Enable watch mode. Defaults to false. */ watch?: boolean; /** The target environment. */ environment?: string; /** The source directory. */ src?: string; /** The output directory. */ out?: string; /** Generate a dependency graph. Defaults to false. */ dependencyGraph?: boolean; } declare const _default: (opts?: Options) => Promise; export default _default;