import { Reporter, Store } from 'gatsby'; import { IGatsbyImageData } from 'gatsby-plugin-image'; import { CreateRemoteFileNodeArgs } from 'gatsby-source-filesystem'; import { IJaenFields, IJaenPage, IJaenSection } from '../../types'; export interface IProcessGatbsy { createNode: CreateRemoteFileNodeArgs['createNode']; createNodeId: CreateRemoteFileNodeArgs['createNodeId']; cache: CreateRemoteFileNodeArgs['cache']; store: Store; reporter: Reporter; } export declare const processPage: ({ page, ...rest }: { page: IJaenPage; } & IProcessGatbsy) => Promise; export declare const processSections: ({ sections, ...rest }: { sections: IJaenSection[]; } & IProcessGatbsy) => Promise; export interface IProcessIMAtoNodes extends IProcessGatbsy { node: { id: string; jaenFields: IJaenFields; jaenFiles: Array<{ id: string; childImageSharp: { gatsbyImageData: IGatsbyImageData; }; }>; }; type: string; field: NonNullable['string']; } export declare const processIMAtoNodes: ({ node, type, field, ...rest }: IProcessIMAtoNodes) => Promise;