import type { Control, Provider } from './settings';
type NitrogenConfigBase = {
    licenseKey: string;
    apiUrl: string;
    siteUrl: string;
    /**
     * URL to go back to the CMS editor in Settings Panel
     */
    editorUrl?: (pageId?: string) => string;
    wysiwygColors: {
        [key: string]: string;
    };
    cssInjection: string;
    modules: () => Record<string, () => Promise<unknown>>;
    controls?: Control[];
};
type NitrogenConfigStrapi = NitrogenConfigBase & {
    provider: 'strapi';
    strapi: {
        collection: string;
    };
};
type NitrogenConfigWordpress = NitrogenConfigBase & {
    provider: 'wordpress';
    wordpress: {
        postType: string;
    };
};
type NitrogenConfigCustom = NitrogenConfigBase & {
    provider: Provider;
    providerConfig: any;
};
export type NitrogenConfig = NitrogenConfigStrapi | NitrogenConfigWordpress | NitrogenConfigCustom;
export {};
