import { NextServer } from './types'; /** * Creates the `runWithAmplifyServerContext` function to run Amplify server side APIs in an isolated request context. * * @remarks * This function should be called only once; you can use the returned `runWithAmplifyServerContext` across * your codebase. * * @param input The input used to create the `runWithAmplifyServerContext` function. * @param input.config The {@link ResourcesConfig} imported from the `amplifyconfiguration.json` file or manually * created. * @returns An object that contains the `runWithAmplifyServerContext` function. * * @example * import { createServerRunner } from '@aws-amplify/adapter-nextjs'; * import config from './amplifyconfiguration.json'; * * export const { runWithAmplifyServerContext } = createServerRunner({ config }) */ export declare const createServerRunner: NextServer.CreateServerRunner;