import type { ActuateCMSConfig } from './config/types.js';
/**
 * Minimal CMS config accepted by withActuateCMS.
 * Only the fields actually used at build-time are required;
 * consumers don't need to supply full CollectionDefinition objects.
 */
export interface WithActuateCMSOptions {
    admin?: {
        path?: string;
    };
    collections?: Record<string, unknown>;
    globals?: Record<string, unknown>;
    [key: string]: unknown;
}
/**
 * Loose Next.js config type that accepts any valid NextConfig properties.
 * Avoids forcing consumers to cast their config objects.
 */
export interface NextConfigLike {
    serverExternalPackages?: string[];
    transpilePackages?: string[];
    experimental?: unknown;
    images?: unknown;
    webpack?: unknown;
    env?: Record<string, string>;
    [key: string]: unknown;
}
/** Wrap a Next.js configuration with Actuate CMS settings. */
export declare function withActuateCMS(cmsConfig: ActuateCMSConfig | WithActuateCMSOptions, nextConfig?: NextConfigLike): NextConfigLike;
/** Returns the configured admin path (reads from env at runtime). */
export declare function getAdminPath(): string;
//# sourceMappingURL=next.d.ts.map