import type { NextConfigObject, WhopAppOptions } from "./types";
export declare function withWhopAppConfig<C extends NextConfigObject>(next: C | ((phase: string, args: {
    defaultConfig: C;
}) => C | Promise<C>), whopAppOptions?: WhopAppOptions): (phase: string, defaults: {
    defaultConfig: C;
}) => Promise<C>;
