UNPKG

gatsby-cli

Version:

Gatsby command-line interface for creating new sites and running Gatsby commands

8 lines (7 loc) 460 B
import { ActionsUnion } from "./types"; import type { GatsbyCLIStore } from "./"; type DiagnosticsMiddleware = (action: ActionsUnion) => void; export type AdditionalDiagnosticsOutputHandler = () => string; export declare function registerAdditionalDiagnosticOutputHandler(handler: AdditionalDiagnosticsOutputHandler): void; export declare function createStructuredLoggingDiagnosticsMiddleware(getStore: () => GatsbyCLIStore): DiagnosticsMiddleware; export {};