import { Application, Context, ContextPage, FoxpageRequestOptions } from '@foxpage/foxpage-types';
/**
 * create render context
 * @param app application
 * @param opt request options
 * @returns render context
 */
export declare const createContext: (app: Application, opt: FoxpageRequestOptions) => Promise<Context>;
/**
 * update ctx with content info
 * @param ctx context
 * @param content content info
 */
export declare const updateContext: (ctx: Context, opt: {
    content: ContextPage;
    app: Application;
}) => Promise<void>;
