export type Cfg = { __doNotUseCfgDirectly: string & { __itIsANapiExternalValue: never } }; /** * Creates configuration that can be passed to minification functions to change the minification approach. * The value returned is an [external](https://nodejs.org/api/n-api.html#n_api_napi_create_external) value with typeof `object` and prototype `null`; it does not have any properties, and should only be used as arguments to minify functions. * * @param options - Configurable minifier settings to use when this configuration is passed to a minify function * @returns An opaque value that can be passed to minify functions */ export function createConfiguration (options: { /** Ensure all unquoted attribute values in the output do not contain any characters prohibited by the WHATWG specification. */ ensure_spec_compliant_unquoted_attribute_values?: boolean; /** Do not omit closing tags when possible. */ keep_closing_tags?: boolean; /** Do not omit `` and `` opening tags when they don't have attributes. */ keep_html_and_head_opening_tags?: boolean; /** Keep spaces between attributes when possible to conform to HTML standards. */ keep_spaces_between_attributes?: boolean; /** Keep all comments. */ keep_comments?: boolean; /** * If enabled, content in `