/** * @copyright Sister Software * @license AGPL-3.0 * @author Teffen Ellis, et al. */ import { type Join, type PathBuilder } from "path-ts"; /** * Aliased path to the root of the repository. * * @typedef {"mailwoman"} RepoRootAlias */ /** * Compiled directory name for TS output files. */ export declare const OutDirectoryName = "out"; export type OutDirectoryName = typeof OutDirectoryName; declare const RepoRootAlias: "mailwoman"; type RepoRootAlias = typeof RepoRootAlias; /** * Path builder relative to the repo root. */ export declare const repoRootPathBuilder: import("path-ts").PathBuilderResolver<"mailwoman">; /** * Absolute-path-string resolver relative to the repo root — the string-returning sibling of {@link repoRootPathBuilder}, * for handing paths straight to `node:fs` and other string APIs without a `.toString()`. */ export declare const repoRootPath: import("path-ts").PathResolver<"mailwoman">; /** * Path builder relative to the directory containing the public workspaces. */ export declare const workspacePathBuilder: import("path-ts").PathBuilderResolver<"mailwoman">; /** * Absolute-path-string resolver relative to the directory containing the public workspaces. */ export declare const workspacePath: import("path-ts").PathResolver<"mailwoman">; /** * Path builder rooted at `@mailwoman/core`, so data under `core/data/` resolves the same in source and compiled trees. * See the `__isCompiledTree` note in this file before reaching across that boundary. */ export declare const corePackagePathBuilder: import("path-ts").PathBuilderResolver<"mailwoman">; /** * Absolute-path-string resolver relative to the `@mailwoman/core` workspace root — the string-returning sibling of * {@link corePackagePathBuilder}. */ export declare const corePackagePath: import("path-ts").PathResolver<"mailwoman">; /** * Path builder relative to a specific package's output directory. */ export declare function tsOutPathBuilder(...pathSegments: S): PathBuilder>; export type AddressResource = "chromium-i18n/ssl-address" | "libpostal" | "internal" | "whosonfirst"; /** * Path builder relative to a address resource dictionary directory. * * Data lives at `core/data//dictionaries/...` so the @mailwoman/core npm package ships dictionaries via its * `files` glob. Use {@link corePackagePathBuilder} directly for non- dictionary assets (e.g. chromium-i18n/ssl-address) * that don't have the `dictionaries/` subdir. */ export declare function resourceDictionaryPathBuilder(resource: A, ...pathSegments: S): PathBuilder}`>>; /** * Absolute-path-string resolver for an address resource dictionary directory — the string-returning sibling of * {@link resourceDictionaryPathBuilder}. */ export declare function resourceDictionaryPath(resource: A, ...pathSegments: S): import("path-ts").Resolve<`mailwoman/${Join<["data", A, "dictionaries", ...S], "/">}`>; /** * Absolute path to the test directory. */ export declare const functionTestsDirectory: PathBuilder<"mailwoman/test">; export {}; //# sourceMappingURL=repo.d.ts.map