import type { ProjectMetadata } from '@-xun/project'; import type { Options as MdastUtilityToMarkdownOptions } from 'mdast-util-to-markdown' with { 'resolution-mode': 'import' }; import type { Options as UnifiedEngineOptions } from 'unified-engine' with { 'resolution-mode': 'import' }; export type PluggableListSupportingSpecifiers = Extract[number]; export type RemarkConfig = { settings?: MdastUtilityToMarkdownOptions; plugins?: UnifiedEngineOptions['plugins']; }; /** * We track these so that we may prevent mdast-util-markdown from mangling them * with an escape character, which sometimes does not render properly on GitHub * or with GFM-compatible tooling. * * @see https://github.com/orgs/community/discussions/16925 */ export declare const wellKnownGithubAlerts: readonly ["[!NOTE]", "[!TIP]", "[!IMPORTANT]", "[!WARNING]", "[!CAUTION]"]; /** * An array of NODE_ENV values recognized by this configuration file. */ export declare const wellKnownNodeEnvValues: readonly ["lint", "lint-no-undef", "format"]; export declare const noUndefinedReferencesPlugin: PluggableListSupportingSpecifiers; /** * @see {@link assertEnvironment} */ export declare function moduleExport({ mode, shouldRenumberReferences, allowWarningComments, projectMetadata }: { mode: 'lint' | 'lint-no-undef' | 'format'; shouldRenumberReferences: boolean; allowWarningComments: boolean; projectMetadata: ProjectMetadata; }): RemarkConfig; /** * @see {@link moduleExport} */ export declare function assertEnvironment(): Promise[0]>; export declare const transformer: import("../../assets.js").Transformer;