///
import Handlebars from "handlebars";
export declare type Page = {
publicUrl: string;
content: string;
excerpt?: string;
orig: string;
language: string;
matter: string;
matterfront: Record;
relativePath: string;
slug?: string;
};
export declare type GlobalContext = {
baseUrl: string;
srcDir: string;
pages: Record;
layouts: Record;
configuration: {
staticFolder: string;
layoutsFolder: string;
};
styles: Record;
preProcessPage?: (page: Page) => void;
plugins: Array;
outFiles: Record;
errors: Error[];
};
export declare type SitePlugin = (context: GlobalContext, page: Page) => Promise;