import { FileSystem, type NowConfig } from '@servicenow/sdk-build-core'; /** * Context required by the config value resolver to look up property values. * * @property config - The parsed {@link NowConfig} for the current build. * @property rootDir - Absolute path to the project root directory. * @property fs - The filesystem handle used to read auxiliary files (e.g. `aiux.json`). */ export type ResolverContext = { config: NowConfig; rootDir: string; fs: FileSystem; }; /** * Resolves pseudo property tokens in a string value. * Tokens use the format `[$config.]` and are replaced with their resolved values. * * Supported tokens: * - `[$config.]` — resolves a NowConfig property by dot-delimited path (e.g. `[$config.scope]`, `[$config.staticContent.buildDir]`) * - `[$config.aiux.]` — resolves a property from `aiux.json` at the project root (e.g. `[$config.aiux.basename]`) * * Deprecated flat keys (e.g. `[$config.staticContentDir]`) remain supported via {@link LEGACY_CONFIG_TOKEN_ALIASES}. */ export declare function resolveConfigValue(value: string, context: ResolverContext): string;