type FetchLike = (input: string, init?: RequestInit) => Promise; export interface SeedResult { /** Settings the seed set, and the ones the Tenant already had. */ applied: string[]; kept: string[]; /** `provider/model` stored in the Tenant's vault. */ model?: string; } /** * The Project's `.env` as a value map. It is never applied to this process or written back: * a Project's `.env` never configures the Host. */ export declare function readProjectEnv(projectRoot: string): Record; /** * Seed a new Project's Tenant from the Project's `.env`: the sandbox backend * (`NYLORUN_SANDBOX=auto|virtual`, `PUT /v1/tenant/config/seed`, which keeps settings the * Tenant has) and the model credential (`MODEL_PROVIDER`, `MODEL`, `MODEL_PROVIDER_API_KEY`, * `MODEL_PROVIDER_BASE_URL`, or `.nylorun/auth.json`), stored in the Tenant's vault unless the * Tenant has a model or `NYLORUN_DEV_MODEL=fixture`. */ export declare function seedTenant(input: { fetch: FetchLike; runtimeUrl: string; /** The Project's management key: seeding is the Management API's. */ managementKey: string; projectRoot: string; }): Promise; export {};