import { compileSync } from 'oc-client-browser'; import type { Config } from '../../types'; type CompileOptions = Omit[0], undefined>, 'templates'>; export interface RegistryOptions extends Partial, 'beforePublish' | 'discovery' | 'plugins'>> { /** * Configuration object to enable/disable the HTML discovery page and the API * * @default true */ discovery?: { ui?: boolean; experimental?: boolean; api?: boolean; validate?: boolean; robots?: boolean; } | boolean; /** * Public base URL where the registry will be accessible by consumers. * It **must** already include the chosen {@link Config.prefix} and end with a trailing slash. * * @example "https://components.mycompany.com/" */ baseUrl: string; /** * Set the options for the oc-client-browser * Set it to false to disable the compilation of the client * @default true */ compileClient?: boolean | CompileOptions; } export default function optionsSanitiser(input: RegistryOptions): Config; export {};