import { toLogger } from "../serialization/tasks/shared.js"; import type { ConnectOptions } from "../serialization/tasks/types.js"; import type { EnvironmentConfiguration } from "../config/types.js"; /** * Match a site name (case-insensitive) against a discovered site list and * return its collection (parent tenant). Pure + exported for unit testing the * matching independently of the network discovery call. */ export declare const matchSiteCollection: (sites: ReadonlyArray<{ name: string; tenantName: string; }>, site: string) => string | undefined; /** * Resolve and persist the SXA site name + collection so `scai provision recipe` * derives the full recipeRoots set without hand-authored paths. * * site + collection: --site / --site-collection flags > existing profile > * wizard site picker (discovered list) > site text prompt + collection discovery * * No-op when no site is resolved (a non-recipe environment leaves the profile * untouched). The picker and discovery are best-effort; a miss falls back to a * text prompt in the wizard or a warning otherwise, so init never blocks. */ export declare const resolveSiteIdentity: (params: { options: ConnectOptions; updated: EnvironmentConfiguration; envName: string; runWizard: boolean; logger: ReturnType; }) => Promise; export declare const runInit: (options: ConnectOptions) => Promise;