import { PossibleTypesMap } from '@apollo/client'; import { WordPressTemplate } from '../getWordPressProps.js'; import { FaustPlugin } from '../wpHooks/index.js'; export interface FaustConfig { templates: { [key: string]: WordPressTemplate; }; experimentalToolbar?: boolean; loginPagePath?: string; /** * @deprecated Plugins are no longer experimental, use "plugins" instead. */ experimentalPlugins?: FaustPlugin[]; plugins?: FaustPlugin[]; possibleTypes: PossibleTypesMap; basePath?: string; /** * Instruct the Apollo Client to use Persisted Queries * * @link https://www.apollographql.com/docs/apollo-server/performance/apq/#apollo-client-setup */ usePersistedQueries?: boolean; /** * Instruct the Apollo Client to send applicable requests as GET instead of POST. * * @link https://www.apollographql.com/docs/react/networking/advanced-http-networking/#the-httplink-object */ useGETForQueries?: boolean; } export declare function setConfig(_config: FaustConfig): void; export declare function normalizeConfig(_config: FaustConfig): FaustConfig; export declare function getConfig(): Partial;