import React from "react"; import type { SiteMetadata } from "../types"; export interface State { siteMetadata: Partial; } export declare enum ActionType { SET = "SET" } type Action = { type: ActionType.SET; siteMetadata?: State["siteMetadata"]; }; export declare const DEFAULT_STATE: State; export declare const reducer: (state: State, action: Action) => State; export declare const LayoutContext: React.Context<{ state: State; dispatch: React.Dispatch; }>; export declare const LayoutProvider: React.FC<{ siteMetadata: State["siteMetadata"]; }>; export {};