1 | import { ActionsUnion, IGatsbyState, IHtmlFileState, IStaticQueryResultState } from "../types";
|
2 | export declare function htmlReducer(state: {
|
3 | trackedHtmlFiles: Map<string, IHtmlFileState>;
|
4 | browserCompilationHash: string;
|
5 | ssrCompilationHash: string;
|
6 | trackedStaticQueryResults: Map<string, IStaticQueryResultState>;
|
7 | unsafeBuiltinWasUsedInSSR: boolean;
|
8 | templateCompilationHashes: Record<string, string>;
|
9 | slicesProps: {
|
10 | bySliceId: Map<string, {
|
11 | pages: Set<string>;
|
12 | props: Record<string, unknown>;
|
13 | sliceName: string;
|
14 | hasChildren: boolean;
|
15 | dirty: number;
|
16 | }>;
|
17 | byPagePath: Map<string, Set<string>>;
|
18 | bySliceName: Map<string, {
|
19 | sliceDataHash: string;
|
20 | dirty: number;
|
21 | props: Set<string>;
|
22 | }>;
|
23 | };
|
24 | pagesThatNeedToStitchSlices: Set<string>;
|
25 | } | undefined, action: ActionsUnion): IGatsbyState["html"];
|