export type Context = Record | ((path: string) => Record) | ((path: string) => Promise>); export declare function resolveContext(context: Context | undefined, pagePath: string): Promise | undefined>;