import type { ActuateCMSConfig } from './config/types.js';
export interface ActuateMiddlewareConfig {
    adminPath?: string;
    ipAllowlist?: string[];
}
interface CMSMiddlewareConfigLike {
    admin?: {
        path?: string;
        loginPath?: string;
        ipAllowlist?: string[];
        [k: string]: unknown;
    };
    [k: string]: unknown;
}
export declare function createCMSMiddleware(cmsConfig: ActuateCMSConfig | CMSMiddlewareConfigLike): (request: Request) => Promise<Response | null>;
export {};
//# sourceMappingURL=middleware.d.ts.map