import { ResourcesConfig } from 'aws-amplify'; import { KeyValueStorageMethodValidator } from 'aws-amplify/adapter-core/internals'; import { NextServer } from '../types'; export declare const createRunWithAmplifyServerContext: ({ config: resourcesConfig, tokenValidator, globalSettings, }: { config: ResourcesConfig; tokenValidator?: KeyValueStorageMethodValidator; globalSettings: NextServer.GlobalSettings; }) => NextServer.RunOperationWithContext;