/** * ```text * v * URI = scheme+sub-scheme ":" ["//" authority] path ["?" query] ["#" fragment] * ^ * ``` * * Note that this delimiter is not escaped for use in regular expressions. * * @see https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Syntax */ export declare const uriSchemeDelimiterUnescaped = ":"; /** * This delimiter is escaped for use in regular expressions. * * @see {@link uriSchemeDelimiterUnescaped} */ export declare const uriSchemeDelimiterEscaped = ":"; /** * ```text * v * URI = scheme+sub-scheme ":" ["//" authority] path ["?" query] ["#" fragment] * ^ * ``` * * Note that this delimiter is not escaped for use in regular expressions. * * @see https://en.wikipedia.org/wiki/Uniform_Resource_Identifier#Syntax */ export declare const uriSchemeSubDelimiterUnescaped = "+"; /** * This delimiter is escaped for use in regular expressions. * * @see {@link uriSchemeSubDelimiterUnescaped} */ export declare const uriSchemeSubDelimiterEscaped: string; /** * The basename of a well-known Typescript configuration file. */ export declare enum Tsconfig { ProjectBase = "tsconfig.json", ProjectLint = "tsc.project.lint.json", PackageDocumentation = "tsc.package.docs.json", PackageLint = "tsc.package.lint.json", PackageTypes = "tsc.package.types.json", } /** * The basename of the well-known Jest configuration file. */ export declare const jestConfigProjectBase = "jest.config.mjs"; /** * The basename of the well-known Tstyche configuration file. */ export declare const tstycheConfigProjectBase = "tstyche.config.json"; /** * The basename of the well-known Webpack configuration file. */ export declare const webpackConfigProjectBase = "webpack.config.mjs"; /** * The basename of the well-known Eslint configuration file. */ export declare const eslintConfigProjectBase = "eslint.config.mjs"; /** * The basename of the well-known Babel configuration file. */ export declare const babelConfigProjectBase = "babel.config.cjs"; /** * The basename of the well-known Remark configuration file. */ export declare const remarkConfigProjectBase = ".remarkrc.mjs"; /** * The basename of the well-known xrelease configuration file. */ export declare const xreleaseConfigProjectBase = "release.config.cjs"; /** * The basename of the well-known xchangelog configuration file. */ export declare const xchangelogConfigProjectBase = "conventional.config.cjs"; /** * The basename of the well-known Dotenv file. */ export declare const dotEnvConfigProjectBase = ".env"; /** * The basename of the well-known "default" Dotenv file. */ export declare const dotEnvDefaultConfigProjectBase = ".env.default"; /** * The basename of the well-known All-contributors configuration file. */ export declare const allContributorsConfigProjectBase = ".all-contributorsrc"; /** * The basename of the well-known Browserslist configuration file. */ export declare const browserslistrcConfigProjectBase = ".browserslistrc"; /** * The basename of the well-known Codecov configuration file. */ export declare const codecovConfigProjectBase = ".codecov.yml"; /** * The basename of the well-known editor-config configuration file. */ export declare const editorConfigProjectBase = ".editorconfig"; /** * The basename of the well-known git-attributes configuration file. */ export declare const gitattributesConfigProjectBase = ".gitattributes"; /** * The basename of the well-known GitHub repository configuration directory. */ export declare const directoryGithubConfigProjectBase = ".github"; /** * The basename of the well-known git-ignore configuration file. */ export declare const gitignoreConfigProjectBase = ".gitignore"; /** * The basename of the well-known Husky configuration directory. */ export declare const directoryHuskyProjectBase = ".husky"; /** * The basename of the well-known npm-check-updates configuration file. */ export declare const ncuConfigProjectBase = ".ncurc.cjs"; /** * The basename of the well-known Prettier configuration file. */ export declare const prettierConfigProjectBase = "prettier.config.mjs"; /** * The basename of the well-known prettier-ignore configuration file. */ export declare const prettierIgnoreConfigProjectBase = ".prettierignore"; /** * The basename of the well-known spellcheck-ignore (from commit-spell) * configuration file. */ export declare const spellcheckIgnoreConfigProjectBase = ".spellcheckignore"; /** * The basename of the well-known Vscode configuration directory. */ export declare const directoryVscodeProjectBase = ".vscode"; /** * The basename of the well-known .wiki directory. */ export declare const directoryWikiProjectBase = ".wiki"; /** * The basename of the well-known ARCHITECTURE file. */ export declare const markdownArchitectureProjectBase = "ARCHITECTURE.md"; /** * The basename of the well-known CONTRIBUTING file. */ export declare const markdownContributingProjectBase = "CONTRIBUTING.md"; /** * The basename of the well-known MAINTAINING file. */ export declare const markdownMaintainingProjectBase = "MAINTAINING.md"; /** * The basename of the well-known SECURITY file. */ export declare const markdownSecurityProjectBase = "SECURITY.md"; /** * The basename of the well-known commit-lint configuration file. */ export declare const commitlintConfigProjectBase = "commitlint.config.mjs"; /** * The basename of the well-known lint-staged configuration file. */ export declare const lintStagedConfigProjectBase = "lint-staged.config.mjs"; /** * The basename of the well-known Postcss configuration file. */ export declare const postcssConfigProjectBase = "postcss.config.mjs"; /** * The basename of the well-known Tailwind configuration file. */ export declare const tailwindConfigProjectBase = "tailwind.config.ts"; /** * The basename of the well-known @vercel/cli configuration file. */ export declare const vercelConfigProjectBase = "vercel.json"; /** * The basename of the well-known vercel-ignore configuration file. */ export declare const vercelignoreConfigProjectBase = ".vercelignore"; /** * The basename of the well-known generated types output directory. * * Never contains special regular expression characters. */ export declare const directoryTypesProjectBase = "types"; /** * The basename of the well-known configuration file containing definitions for * additional aliases (respected by the `symbiote project renovate` command). */ export declare const aliasMapConfigProjectBase = "alias.config.mjs"; /** * The basename of the well-known changelog patcher configuration file * (respected by the `symbiote build changelog` command). */ export declare const changelogPatchConfigProjectBase = "changelog.patch.mjs"; /** * The basename of the well-known Next.js configuration file. */ export declare const nextjsConfigPackageBase = "next.config.mjs"; /** * The basename of the well-known Cloudflare Wrangler configuration file (as * JSON, not JSONC or TOML). */ export declare const wranglerConfigPackageBase = "wrangler.json"; /** * The basename of the well-known changelog patcher configuration file * (respected by the `symbiote build changelog` command). */ export declare const changelogPatchConfigPackageBase = "changelog.patch.mjs"; /** * The basename of the well-known script run after `npm install` (exactly as * typed). */ export declare const postNpmInstallPackageBase = "post-npm-install.mjs"; /** * The basename of the well-known git-add-then-commit CLI tool configuration * file. */ export declare const gacConfigPackageBase = "gac.config.mjs"; /** * The basename of the well-known LICENSE file. */ export declare const markdownLicensePackageBase = "LICENSE"; /** * The basename of the well-known README file. */ export declare const markdownReadmePackageBase = "README.md"; /** * The basename of the well-known package.json file. */ export declare const packageJsonConfigPackageBase = "package.json"; /** * The basename of the well-known Dotenv configuration file. */ export declare const dotEnvConfigPackageBase = ".env"; /** * The basename of the well-known istanbul/jest code coverage output file. */ export declare const lcovCoverageInfoPackageBase = "lcov.info"; /** * The basename of the well-known "default" Dotenv configuration file. */ export declare const dotEnvDefaultConfigPackageBase = ".env.default"; /** * The basename of the well-known directory containing all sub-packages as * direct subdirectories. * * Never contains special regular expression characters. */ export declare const directoryPackagesProjectBase = "packages"; /** * The basename of the well-known distributables output or "dist" directory. * * Never contains special regular expression characters. */ export declare const directoryDistPackageBase = "dist"; /** * The basename of the well-known intermediate transpilation output directory. */ export declare const directoryIntermediatesPackageBase = ".transpiled"; /** * The basename of the well-known test coverage output directory. * * Never contains special regular expression characters. */ export declare const directoryCoveragePackageBase = "coverage"; /** * The basename of the well-known source directory. * * Never contains special regular expression characters. */ export declare const directorySrcPackageBase = "src"; /** * The basename of the well-known test directory. * * Never contains special regular expression characters. */ export declare const directoryTestPackageBase = "test"; /** * The basename of the well-known generated documentation output directory. * * Never contains special regular expression characters. */ export declare const directoryDocumentationPackageBase = "docs"; /** * The basename of the well-known "shared attribute file". The presence of this * file at a workspace sub-root signifies that commits scoped to said package * will be included by other packages in the project. * * By default, commits scoped to individual packages are ignored by other * packages. */ export declare const sharedAttributeFileBase = ".shared"; /** * All known TypeScript file extensions supported by Babel (except {@link extensionTypescriptDefinition}). */ export declare const extensionsTypescript: readonly [".ts", ".cts", ".mts", ".tsx"]; /** * The known file extension for TypeScript definition files. * * @see {@link extensionsTypescript} */ export declare const extensionTypescriptDefinition = ".d.ts"; /** * All known JavaScript file extensions supported by Babel. */ export declare const extensionsJavascript: readonly [".js", ".mjs", ".cjs", ".jsx"]; /** * All possible extensions accepted by Babel using standard symbiote configs. */ export declare const extensionsAcceptedByBabel: readonly [".ts", ".cts", ".mts", ".tsx", ".js", ".mjs", ".cjs", ".jsx"]; /** * Returns `true` if `path` points to a file with an extension accepted by Babel * (including `.d.ts`). * * @see {@link extensionsAcceptedByBabel} */ export declare function hasExtensionAcceptedByBabel(path: string): boolean; /** * Returns `true` if `path` points to a file with a TypeScript extension * (including `.d.ts`). * * @see {@link extensionsTypescript} */ export declare function hasTypescriptExtension(path: string): boolean; /** * Returns `true` if `path` points to a file with a JavaScript extension. * * @see {@link extensionsJavascript} */ export declare function hasJavascriptExtension(path: string): boolean;