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 AppRouterContext {
    params: Promise<{
        command?: string | string[];
    } & {
        [key: string]: string | string[] | undefined;
    }>;
}
type Handler = {
    (req: NextApiRequest, res: NextApiResponse): Promise<unknown>;
    (request: NextRequest, context: AppRouterContext): void | Response | Promise<void | Response>;
};
declare function NextPantheonAPI(options?: PantheonAPIOptions): Handler;

export { NextPantheonAPI as PantheonAPI };
