import type { Context } from 'hono';
import type { GetPagePropsFn, GetServerPropsContext, PageRouteDetails } from '../../types';
import type { PageProps, PageStaticData } from '@redocly/config';
import { prepareContextVariables } from './prepare-context-variables.js';
export type ServerPropsResult = PageProps | {
    pagePropGetterError: {
        message: string;
        name: string;
        stack?: string;
    };
};
export declare function getServerPropsFromUserHandler({ route, ctx, staticData, serverPropsGetters, serverPropsUser, actions, }: {
    route: PageRouteDetails;
    ctx: Context | null;
    staticData: PageStaticData;
    serverPropsGetters: Record<string, () => Promise<{
        default: GetPagePropsFn;
    }>>;
    serverPropsUser: ReturnType<typeof prepareContextVariables>['serverPropsUser'];
    actions: GetServerPropsContext;
}): Promise<ServerPropsResult | undefined>;
//# sourceMappingURL=get-server-props-from-user-handler.d.ts.map