import { PantheonAPIOptions } from '@pantheon-systems/pcc-sdk-core';
export { GQL, PCCConvenienceFunctions, PantheonAPIOptions, PantheonClient, PantheonClientConfig, findTab, flattenDocumentTabs, getAllTags, getArticle, getArticleBySlugOrId, getArticlePathComponentsFromContentStructure, getArticleURLFromSite, getArticleURLFromSiteWithOptions, getArticles, getPaginatedArticles, getRecommendedArticles, getSite, updateConfig } from '@pantheon-systems/pcc-sdk-core';
export * from '@pantheon-systems/pcc-sdk-core/types';
import { NextApiRequest, NextApiResponse } from 'next';
import { NextRequest } from 'next/server';

interface AppRouterParams {
    params: Record<string, string>;
    headers?: null;
}
type Handler = {
    (req: NextApiRequest, res: NextApiResponse): Promise<unknown>;
    (req: NextRequest, res: AppRouterParams): Promise<void | Response>;
};
declare function NextPantheonAPI(options?: PantheonAPIOptions): Handler;

export { NextPantheonAPI as PantheonAPI };
